gplink-1.1.0
Copyright (c) 1998-2005 gputils project
Listing File Generated: 4-3-2018  20:31:59
 
 
Address  Value    Disassembly              Source
-------  -----    -----------              ------
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Tue Apr 03 20:31:40 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../config_set.c"
                                           	.radix dec
                                           	.include "KF8TS2508.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           ADSCANCTL		.EQU                 0x18
                                           VDACS			.EQU                 0x1A
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           ADCDATA1H		.EQU                 0x50
                                           ADCDATA1L		.EQU                 0x51
                                           CTCTL0			.EQU                 0x53
                                           ADCINTCTL		.EQU                 0x58
                                           ADCDATA2H		.EQU                 0x59
                                           ADCDATA2L		.EQU                 0x5A
                                           ADCDATA3H		.EQU                 0x5E
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  18H  ADSCANCTL   Bits-------------------------------------
                                           ADSCANEN		.EQU                7
                                           SMOD1			.EQU                6
                                           SMOD0			.EQU                5
                                           STIM4			.EQU                4
                                           STIM3			.EQU                3
                                           STIM2			.EQU                2
                                           STIM1			.EQU                1
                                           STIM0			.EQU                0
                                           _ADSCANEN		.EQU                7
                                           _SMOD1			.EQU                6
                                           _SMOD0			.EQU                5
                                           _STIM4			.EQU                4
                                           _STIM3			.EQU                3
                                           _STIM2			.EQU                2
                                           _STIM1			.EQU                1
                                           _STIM0			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  58H  ADCINTCTL   Bits-------------------------------------
                                           INTCTL1			.EQU                1
                                           INTCTL0			.EQU                0
                                           _INTCTL1		.EQU                1
                                           _INTCTL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; config word(s)
                                           ;--------------------------------------------------------
                                           	__config 0x5c4
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.extern I1PSW
                                           	.extern I1PCH
                                           	.extern STK11
                                           	.extern STK10
                                           	.extern STK09
                                           	.extern STK08
                                           	.extern STK07
                                           	.extern STK06
                                           	.extern STK05
                                           	.extern STK04
                                           	.extern STK03
                                           	.extern STK02
                                           	.extern STK01
                                           	.extern STK00
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           ;	code size estimation:
                                           ;	    0+    0 =     0 instructions (    0 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Tue Apr 03 20:31:43 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../data.c"
                                           	.radix dec
                                           	.include "KF8TS2508.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           ADSCANCTL		.EQU                 0x18
                                           VDACS			.EQU                 0x1A
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           ADCDATA1H		.EQU                 0x50
                                           ADCDATA1L		.EQU                 0x51
                                           CTCTL0			.EQU                 0x53
                                           ADCINTCTL		.EQU                 0x58
                                           ADCDATA2H		.EQU                 0x59
                                           ADCDATA2L		.EQU                 0x5A
                                           ADCDATA3H		.EQU                 0x5E
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  18H  ADSCANCTL   Bits-------------------------------------
                                           ADSCANEN		.EQU                7
                                           SMOD1			.EQU                6
                                           SMOD0			.EQU                5
                                           STIM4			.EQU                4
                                           STIM3			.EQU                3
                                           STIM2			.EQU                2
                                           STIM1			.EQU                1
                                           STIM0			.EQU                0
                                           _ADSCANEN		.EQU                7
                                           _SMOD1			.EQU                6
                                           _SMOD0			.EQU                5
                                           _STIM4			.EQU                4
                                           _STIM3			.EQU                3
                                           _STIM2			.EQU                2
                                           _STIM1			.EQU                1
                                           _STIM0			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  58H  ADCINTCTL   Bits-------------------------------------
                                           INTCTL1			.EQU                1
                                           INTCTL0			.EQU                0
                                           _INTCTL1		.EQU                1
                                           _INTCTL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.extern I1PSW
                                           	.extern I1PCH
                                           	.extern STK11
                                           	.extern STK10
                                           	.extern STK09
                                           	.extern STK08
                                           	.extern STK07
                                           	.extern STK06
                                           	.extern STK05
                                           	.extern STK04
                                           	.extern STK03
                                           	.extern STK02
                                           	.extern STK01
                                           	.extern STK00
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           	.global	_Flag
                                           	.global	_AlarmFlag
                                           	.global	_CurrentAdjustNum
                                           	.global	_KeyDownNum
                                           	.global	_Time20MScnt
                                           	.global	_V_NoWatercnt
                                           	.global	_I_NoWatercnt
                                           	.global	_AdjustOvercnt
                                           	.global	_NoWaterTimecnt
                                           	.global	_main_cnt
                                           	.global	_SubNum
                                           	.global	_AD_temp_V
                                           	.global	_AD_temp_I
                                           	.global	_AD_V
                                           	.global	_AD_I
                                           	.global	_AD_cnt
                                           	.global	_Power
                                           	.global	_LEDFre
                                           	.global	_CurrentShortCnt
                                           	.global	_cnt
                                           	.global	_keycnt
                                           	.global	_keycnttime
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           UD_data_0	.udata
                                           _Flag	.res	1
                                           
                                           UD_data_1	.udata
                                           _AlarmFlag	.res	1
                                           
                                           UD_data_2	.udata
                                           _CurrentAdjustNum	.res	2
                                           
                                           UD_data_3	.udata
                                           _KeyDownNum	.res	2
                                           
                                           UD_data_4	.udata
                                           _Time20MScnt	.res	1
                                           
                                           UD_data_5	.udata
                                           _V_NoWatercnt	.res	1
                                           
                                           UD_data_6	.udata
                                           _I_NoWatercnt	.res	1
                                           
                                           UD_data_7	.udata
                                           _AdjustOvercnt	.res	1
                                           
                                           UD_data_8	.udata
                                           _NoWaterTimecnt	.res	1
                                           
                                           UD_data_9	.udata
                                           _main_cnt	.res	1
                                           
                                           UD_data_10	.udata
                                           _SubNum	.res	1
                                           
                                           UD_data_11	.udata
                                           _AD_temp_V	.res	4
                                           
                                           UD_data_12	.udata
                                           _AD_temp_I	.res	4
                                           
                                           UD_data_13	.udata
                                           _AD_V	.res	2
                                           
                                           UD_data_14	.udata
                                           _AD_I	.res	2
                                           
                                           UD_data_15	.udata
                                           _AD_cnt	.res	2
                                           
                                           UD_data_16	.udata
                                           _Power	.res	1
                                           
                                           UD_data_17	.udata
                                           _LEDFre	.res	2
                                           
                                           UD_data_18	.udata
                                           _CurrentShortCnt	.res	1
                                           
                                           UD_data_19	.udata
                                           _cnt	.res	1
                                           
                                           UD_data_20	.udata
                                           _keycnt	.res	1
                                           
                                           UD_data_21	.udata
                                           _keycnttime	.res	1
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           ;	code size estimation:
                                           ;	    0+    0 =     0 instructions (    0 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Tue Apr 03 20:31:46 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../debug_touch.c"
                                           	.radix dec
                                           	.include "KF8TS2508.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           ADSCANCTL		.EQU                 0x18
                                           VDACS			.EQU                 0x1A
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           ADCDATA1H		.EQU                 0x50
                                           ADCDATA1L		.EQU                 0x51
                                           CTCTL0			.EQU                 0x53
                                           ADCINTCTL		.EQU                 0x58
                                           ADCDATA2H		.EQU                 0x59
                                           ADCDATA2L		.EQU                 0x5A
                                           ADCDATA3H		.EQU                 0x5E
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  18H  ADSCANCTL   Bits-------------------------------------
                                           ADSCANEN		.EQU                7
                                           SMOD1			.EQU                6
                                           SMOD0			.EQU                5
                                           STIM4			.EQU                4
                                           STIM3			.EQU                3
                                           STIM2			.EQU                2
                                           STIM1			.EQU                1
                                           STIM0			.EQU                0
                                           _ADSCANEN		.EQU                7
                                           _SMOD1			.EQU                6
                                           _SMOD0			.EQU                5
                                           _STIM4			.EQU                4
                                           _STIM3			.EQU                3
                                           _STIM2			.EQU                2
                                           _STIM1			.EQU                1
                                           _STIM0			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  58H  ADCINTCTL   Bits-------------------------------------
                                           INTCTL1			.EQU                1
                                           INTCTL0			.EQU                0
                                           _INTCTL1		.EQU                1
                                           _INTCTL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	_Pmw1InitFun
                                           	.extern	_T0InitFun
                                           	.extern	__KF8spts2w_LIBf_init_touch_
                                           	.extern	__KF8spts2w_LIBf_touch_process_
                                           	.extern	__KF8spts2w_Lib_SET_MCU_Parameter
                                           	.extern	_read_data_eep_ts2w_
                                           	.extern	_write_eep_ts2w_
                                           	.extern	_delay_ms
                                           	.extern	_delay_us
                                           	.extern	__R2PCL
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_PCH_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_BANK_bits
                                           	.extern	_ADSCANCTL_bits
                                           	.extern	_VDACS_bits
                                           	.extern	_ANSEH_bits
                                           	.extern	_ADCCTL0_bits
                                           	.extern	_OPTR_bits
                                           	.extern	_IP0_bits
                                           	.extern	_IP1_bits
                                           	.extern	_IP2_bits
                                           	.extern	_TR0_bits
                                           	.extern	_TR2_bits
                                           	.extern	_TR1_bits
                                           	.extern	_OSCSTA_bits
                                           	.extern	_IP3_bits
                                           	.extern	_VRECTL_bits
                                           	.extern	_EIE1_bits
                                           	.extern	_EIE2_bits
                                           	.extern	_PCTL_bits
                                           	.extern	_OSCCTL_bits
                                           	.extern	_ANSEL_bits
                                           	.extern	_PUR0_bits
                                           	.extern	_IOCL_bits
                                           	.extern	_ADCCTL1_bits
                                           	.extern	_P0LR_bits
                                           	.extern	_P2LR_bits
                                           	.extern	_P1LR_bits
                                           	.extern	_EIE3_bits
                                           	.extern	_EIF3_bits
                                           	.extern	_T3CTL_bits
                                           	.extern	_CTCTL0_bits
                                           	.extern	_ADCINTCTL_bits
                                           	.extern	_PUR1_bits
                                           	.extern	_PUR2_bits
                                           	.extern	_CTCTL1_bits
                                           	.extern	_INTEDGCTL_bits
                                           	.extern	_VDAC_bits
                                           	.extern	_VRES_bits
                                           	.extern	_SSCICTL0_bits
                                           	.extern	_SSCICTL1_bits
                                           	.extern	_SSCISTA_bits
                                           	.extern	_SSCIADD_bits
                                           	.extern	_SSCIMSK_bits
                                           	.extern	_WDTPS_bits
                                           	.extern	_CTCTL2_bits
                                           	.extern	_T4CTL_bits
                                           	.extern	__KF8_Disturb_Protect_Circle_
                                           	.extern	__KF8_Up_BaseLine_Circle_
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBi_Date_Change_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBi_buff_hit_
                                           	.extern	__KF8_LIBi_buff_baseline_
                                           	.extern	__KF8_LIBi_buff_refline_
                                           	.extern	__KF8_LIBc_touch_count_
                                           	.extern	_Arr_erom_TS2W_
                                           	.extern	_Flag
                                           	.extern	_AlarmFlag
                                           	.extern	_CurrentAdjustNum
                                           	.extern	_KeyDownNum
                                           	.extern	_Time20MScnt
                                           	.extern	_V_NoWatercnt
                                           	.extern	_AdjustOvercnt
                                           	.extern	_NoWaterTimecnt
                                           	.extern	_main_cnt
                                           	.extern	_SubNum
                                           	.extern	_AD_temp_V
                                           	.extern	_AD_temp_I
                                           	.extern	_AD_V
                                           	.extern	_AD_I
                                           	.extern	_AD_cnt
                                           	.extern	_Power
                                           	.extern	_LEDFre
                                           	.extern	_CurrentShortCnt
                                           	.extern	_I_NoWatercnt
                                           	.extern	_cnt
                                           	.extern	_keycnt
                                           	.extern	_keycnttime
                                           	.extern	_CHS_AMOUNT
                                           	.extern	_TCS_AMOUNT
                                           	.extern	__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
                                           	.extern	__KF8_Disturb_Protect_Circle_Define
                                           	.extern	__KF8_Up_BaseLine_Circle_Define
                                           	.extern	__KF8_Inside_Reference_Channel_Order
                                           	.extern	__KF8_Config_Finger_Threshold
                                           	.extern	_CONFIG_NO_FINGER_THRESHOLD
                                           	.extern	__KF8_TOUCH_CH_EN
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWM1L
                                           	.extern	_PWMCTL
                                           	.extern	_PP1
                                           	.extern	_BANK
                                           	.extern	_ADSCANCTL
                                           	.extern	_VDACS
                                           	.extern	_ANSEH
                                           	.extern	_ADCDATA0H
                                           	.extern	_ADCCTL0
                                           	.extern	_OPTR
                                           	.extern	_IP0
                                           	.extern	_IP1
                                           	.extern	_IP2
                                           	.extern	_TR0
                                           	.extern	_TR2
                                           	.extern	_TR1
                                           	.extern	_OSCSTA
                                           	.extern	_IP3
                                           	.extern	_VRECAL1
                                           	.extern	_VRECTL
                                           	.extern	_EIE1
                                           	.extern	_EIE2
                                           	.extern	_PCTL
                                           	.extern	_OSCCTL
                                           	.extern	_OSCCAL0
                                           	.extern	_ANSEL
                                           	.extern	_PP2
                                           	.extern	_PWM2L
                                           	.extern	_PUR0
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_NVMDATAH
                                           	.extern	_NVMDATAL
                                           	.extern	_NVMADDRH
                                           	.extern	_NVMADDRL
                                           	.extern	_NVMCTL0
                                           	.extern	_NVMCTL1
                                           	.extern	_ADCDATA0L
                                           	.extern	_ADCCTL1
                                           	.extern	_P0LR
                                           	.extern	_P2LR
                                           	.extern	_P1LR
                                           	.extern	_EIE3
                                           	.extern	_EIF3
                                           	.extern	_OSCCAL2
                                           	.extern	_OSCCAL3
                                           	.extern	_T3CTL
                                           	.extern	_T3L
                                           	.extern	_ADCDATA1H
                                           	.extern	_ADCDATA1L
                                           	.extern	_CTCTL0
                                           	.extern	_ADCINTCTL
                                           	.extern	_ADCDATA2H
                                           	.extern	_ADCDATA2L
                                           	.extern	_ADCDATA3H
                                           	.extern	_T3H
                                           	.extern	_PUR1
                                           	.extern	_PUR2
                                           	.extern	_CTCTL1
                                           	.extern	_INTEDGCTL
                                           	.extern	_ADCDATA3L
                                           	.extern	_VDAC
                                           	.extern	_VRES
                                           	.extern	_SSCICTL0
                                           	.extern	_SSCICTL1
                                           	.extern	_SSCISTA
                                           	.extern	_SSCIBUFR
                                           	.extern	_SSCIADD
                                           	.extern	_SSCIMSK
                                           	.extern	_WDTPS
                                           	.extern	_VRECAL2
                                           	.extern	_VRECAL3
                                           	.extern	_CTCTL2
                                           	.extern	_T4L
                                           	.extern	_T4H
                                           	.extern	_T4REL
                                           	.extern	_T4REH
                                           	.extern	_T4CTL
                                           	.extern	_RC32KCAL
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.extern I1PSW
                                           	.extern I1PCH
                                           	.extern STK11
                                           	.extern STK10
                                           	.extern STK09
                                           	.extern STK08
                                           	.extern STK07
                                           	.extern STK06
                                           	.extern STK05
                                           	.extern STK04
                                           	.extern STK03
                                           	.extern STK02
                                           	.extern STK01
                                           	.extern STK00
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           	.global	_TOUCH_DEBUG_SEND_OUT
                                           	.global	_TOUCH_DEBUG_TRS_DEAL
                                           	.global	_TOUCH_DEBUG_TRS_BAIHUALV
                                           	.global	_TOUCH_CH_TRS_EN
                                           	.global	_T_buf
                                           	.global	_i_T_D
                                           	.global	_sentbuf1
                                           	.global	_sentbuf2
                                           	.global	_sentbuf3
                                           	.global	_sentbuf4
                                           	.global	_Date_Baihualv_Get_V
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           UD_debug_touch_0	.udata
                                           _T_buf	.res	1
                                           
                                           UD_debug_touch_1	.udata
                                           _i_T_D	.res	1
                                           
                                           UD_debug_touch_2	.udata
                                           _sentbuf1	.res	1
                                           
                                           UD_debug_touch_3	.udata
                                           _sentbuf2	.res	1
                                           
                                           UD_debug_touch_4	.udata
                                           _sentbuf3	.res	1
                                           
                                           UD_debug_touch_5	.udata
                                           _sentbuf4	.res	1
                                           
                                           UD_debug_touch_6	.udata
                                           _Date_Baihualv_Get_V	.res	2
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           UDL_debug_touch_0	.udata
                                           r0x100A	.res	1
                                           UDL_debug_touch_1	.udata
                                           r0x100B	.res	1
                                           UDL_debug_touch_2	.udata
                                           r0x1008	.res	1
                                           UDL_debug_touch_3	.udata
                                           r0x1009	.res	1
                                           UDL_debug_touch_4	.udata
                                           r0x1006	.res	1
                                           UDL_debug_touch_5	.udata
                                           r0x1007	.res	1
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           
                                           ID_debug_touch_0	.idata
                                           _TOUCH_CH_TRS_EN
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           	.db	0x01
                                           
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           
                                           func._TOUCH_DEBUG_SEND_OUT	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _TOUCH_DEBUG_SEND_OUT	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;3 compiler assigned registers:
                                           ;   STK00
                                           ;   r0x1006
                                           ;   r0x1007
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _TOUCH_DEBUG_SEND_OUT	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	648; "../debug_touch.c"	CLK_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	649; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	650; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	653; "../debug_touch.c"	if(CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 1
                                           	JMP	_00149_DS_
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	655; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	656; "../debug_touch.c"	if(!CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JNB	_P0_bits, 1
                                           	JMP	_00150_DS_
                                           ;	op : RETURN
                                           ;	.line	657; "../debug_touch.c"	return;
                                           	JMP	_00170_DS_
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00149_DS_
                                           ;	.line	659; "../debug_touch.c"	else if(!CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JNB	_P0_bits, 1
                                           	JMP	_00146_DS_
                                           ;	op : RETURN
                                           ;	.line	661; "../debug_touch.c"	return;
                                           	JMP	_00170_DS_
                                           ;	op : LABEL
                                           ;	op : RETURN
                                           _00146_DS_
                                           ;	.line	664; "../debug_touch.c"	return;
                                           	JMP	_00170_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00150_DS_
                                           ;	.line	666; "../debug_touch.c"	CLK_SET_OUT;
                                           	BANKSEL	_TR0_bits
                                           	CLR	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	668; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	669; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	671; "../debug_touch.c"	CLK_SET_HIGH;		//
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	672; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           ;	.line	674; "../debug_touch.c"	if(!DAT_GET_STATE)
                                           	PAGESEL	$
                                           ;	.line	676; "../debug_touch.c"	return;
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           ;	.line	679; "../debug_touch.c"	CLK_SET_LOW;			//½
                                           	JMP	_00170_DS_
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	.line	682; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	684; "../debug_touch.c"	DAT_SET_OUT;
                                           	BANKSEL	_TR0_bits
                                           	CLR	_TR0_bits, 0
                                           ;	op : =
                                           ;	.line	687; "../debug_touch.c"	j=5;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	op : =
                                           ;	.line	689; "../debug_touch.c"	for(step=0;step<5;step++)
                                           	BANKSEL	r0x1007
                                           	CLR	r0x1007
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x5=5), size=1
                                           _00166_DS_
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1007
                                           	SUB	R0, r0x1007
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00169_DS_
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x5=5), size=1
                                           ;	.line	691; "../debug_touch.c"	switch(step)
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1007
                                           	SUB	R0, r0x1007
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00158_DS_
                                           ;	op : JUMPTABLE
                                           	MOV	R0,#high _00185_DS_
                                           	MOV	PCH, R0
                                           	MOV	R0,#_00185_DS_
                                           	BANKSEL	r0x1007
                                           	ADD	R0, r0x1007
                                           	JNB	PSW, 0
                                           	INC	PCH
                                           	MOV	PCL, R0
                                           _00185_DS_
                                           	JMP	_00153_DS_
                                           	JMP	_00154_DS_
                                           	JMP	_00155_DS_
                                           	JMP	_00156_DS_
                                           	JMP	_00157_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00153_DS_
                                           ;	.line	695; "../debug_touch.c"	j=5;   T_buf=0x04;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	op : =
                                           	MOV	R0,# 0x04
                                           	BANKSEL	_T_buf
                                           	MOV	_T_buf, R0
                                           ;	op : GOTO
                                           ;	.line	696; "../debug_touch.c"	}break;
                                           	JMP	_00158_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00154_DS_
                                           ;	.line	699; "../debug_touch.c"	j=8;   T_buf=sentbuf1;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	op : =
                                           	BANKSEL	_sentbuf1
                                           	MOVZ	R0, _sentbuf1
                                           	BANKSEL	_T_buf
                                           	MOV	_T_buf, R0
                                           ;	op : GOTO
                                           ;	.line	700; "../debug_touch.c"	}break;
                                           	JMP	_00158_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00155_DS_
                                           ;	.line	703; "../debug_touch.c"	j=8;   T_buf=sentbuf2;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	op : =
                                           	BANKSEL	_sentbuf2
                                           	MOVZ	R0, _sentbuf2
                                           	BANKSEL	_T_buf
                                           	MOV	_T_buf, R0
                                           ;	op : GOTO
                                           ;	.line	704; "../debug_touch.c"	}break;
                                           	JMP	_00158_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00156_DS_
                                           ;	.line	707; "../debug_touch.c"	j=8;   T_buf=sentbuf3;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	op : =
                                           	BANKSEL	_sentbuf3
                                           	MOVZ	R0, _sentbuf3
                                           	BANKSEL	_T_buf
                                           	MOV	_T_buf, R0
                                           ;	op : GOTO
                                           ;	.line	708; "../debug_touch.c"	}break;
                                           	JMP	_00158_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00157_DS_
                                           ;	.line	711; "../debug_touch.c"	j=8;   T_buf=sentbuf4;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x1006
                                           	MOV	r0x1006, R0
                                           ;	op : =
                                           	BANKSEL	_sentbuf4
                                           	MOVZ	R0, _sentbuf4
                                           	BANKSEL	_T_buf
                                           	MOV	_T_buf, R0
                                           ;	op : LABEL
                                           ;	op : =
                                           _00158_DS_
                                           ;	.line	715; "../debug_touch.c"	for(i_T_D=0;i_T_D<j;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	CLR	_i_T_D
                                           ;	op : LABEL
                                           ;	op : <
                                           _00162_DS_
                                           	BANKSEL	r0x1006
                                           	MOVZ	R0, r0x1006
                                           	BANKSEL	_i_T_D
                                           	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00165_DS_
                                           ;	op : BITWISEAND
                                           ;	.line	717; "../debug_touch.c"	if(T_buf&0x01)
                                           	BANKSEL	_T_buf
                                           	JB	_T_buf, 0
                                           	JMP	_00160_DS_
                                           ;	op : =
                                           ;	.line	718; "../debug_touch.c"	DAT_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 0
                                           ;	op : GOTO
                                           	JMP	_00161_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00160_DS_
                                           ;	.line	720; "../debug_touch.c"	DAT_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 0
                                           ;	op : LABEL
                                           ;	op : =
                                           _00161_DS_
                                           ;	.line	722; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	723; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	725; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	726; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : RIGHT_OP
                                           ;	.line	728; "../debug_touch.c"	T_buf=T_buf>>1;
                                           	CLR	PSW, 0
                                           	BANKSEL	_T_buf
                                           	RRC	_T_buf
                                           ;	op : +
                                           ;	.line	715; "../debug_touch.c"	for(i_T_D=0;i_T_D<j;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	INC	_i_T_D
                                           ;	op : GOTO
                                           	JMP	_00162_DS_
                                           ;	op : LABEL
                                           ;	op : SEND
                                           ;	op : CALL
                                           _00165_DS_
                                           ;	.line	731; "../debug_touch.c"	Touch_Delay2;
                                           	MOV	R0,# 0x6e
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : +
                                           ;	.line	689; "../debug_touch.c"	for(step=0;step<5;step++)
                                           	BANKSEL	r0x1007
                                           	INC	r0x1007
                                           ;	op : GOTO
                                           	JMP	_00166_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00169_DS_
                                           ;	.line	735; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	736; "../debug_touch.c"	Touch_Delay2;	//жҪʱ
                                           	MOV	R0,# 0x6e
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	738; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	739; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	740; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	742; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	743; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	745; "../debug_touch.c"	CLK_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	746; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00170_DS_
                                           	CRET	
                                           ; exit point of _TOUCH_DEBUG_SEND_OUT
                                           
                                           
                                           
                                           func._TOUCH_DEBUG_TRS_DEAL	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _TOUCH_DEBUG_TRS_DEAL	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;3 compiler assigned registers:
                                           ;   STK00
                                           ;   r0x1008
                                           ;   r0x1009
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _TOUCH_DEBUG_TRS_DEAL	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
000579   990b     MOV	R1, #0xb             	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
00057a   9800     MOV	R0, #0               	MOV R0,#(0)
00057b   80fc     ADD	R0, #0xfc            	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
00057c   7003     JNB	0x3, 0               	JNB PSW,0
00057d   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCL
00057e   dbfe     CALL	#0xbfe              	CALL __R2PCL
                                           	PAGESEL $
00057f   8094     ADD	R0, #0x94            	ADD R0,#(_TOUCH_CH_TRS_EN+0)
000580   9901     MOV	R1, #0x1             	MOV R1,#0x01
000581   e101     MOVB	0x1                 	BANKSEL _TOUCH_CH_TRS_EN
000582   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : INLINEASM
000583   e100     MOVB	0                   	BANKSEL __KF8_LIBc_channel_
000584   50ab     MOV	R0, 0xab             	MOV R0,__KF8_LIBc_channel_
000585   80fc     ADD	R0, #0xfc            	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
000586   990b     MOV	R1, #0xb             	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
000587   7003     JNB	0x3, 0               	JNB PSW,0
000588   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCL
000589   dbfe     CALL	#0xbfe              	CALL __R2PCL
                                           	PAGESEL $
00058a   8094     ADD	R0, #0x94            	ADD R0,#(_TOUCH_CH_TRS_EN+0)
00058b   e101     MOVB	0x1                 	BANKSEL _TOUCH_CH_TRS_EN
00058c   f701     LD	R1, [R0]              	LD R1,[R0]
00058d   a900     XOR	R1, #0               	XOR R1,#0x00
00058e   7203     JNB	0x3, 2               	JNB PSW,2
00058f   c683     JMP	#0x683               	JMP Label_x_y_z_a
                                           	
                                           ;	op : =
                                           ;	.line	393; "../debug_touch.c"	CLK_SET_IN;
000590   e100     MOVB	0                   	BANKSEL	_TR0_bits
000591   6925     SET	0x25, 1              	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	394; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
000592   6825     SET	0x25, 0              	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	395; "../debug_touch.c"	Touch_Delay1;
000593   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
000594   e101     MOVB	0x1                 	BANKSEL	STK00
000595   5193     MOV	0x93, R0             	MOV	STK00, R0
000596   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000597   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	399; "../debug_touch.c"	if(CLK_GET_STATE)
000598   e100     MOVB	0                   	BANKSEL	_P0_bits
000599   7905     JB	0x5, 1                	JB	_P0_bits, 1
00059a   c5a4     JMP	#0x5a4               	JMP	_00078_DS_
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	401; "../debug_touch.c"	Touch_Delay1;
00059b   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
00059c   e101     MOVB	0x1                 	BANKSEL	STK00
00059d   5193     MOV	0x93, R0             	MOV	STK00, R0
00059e   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
00059f   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	402; "../debug_touch.c"	if(!CLK_GET_STATE)
0005a0   e100     MOVB	0                   	BANKSEL	_P0_bits
0005a1   7105     JNB	0x5, 1               	JNB	_P0_bits, 1
0005a2   c5a8     JMP	#0x5a8               	JMP	_00079_DS_
                                           ;	op : RETURN
                                           ;	.line	403; "../debug_touch.c"	return;
0005a3   c683     JMP	#0x683               	JMP	_00116_DS_
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00078_DS_
                                           ;	.line	405; "../debug_touch.c"	else if(!CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
0005a4   7105     JNB	0x5, 1               	JNB	_P0_bits, 1
0005a5   c5a7     JMP	#0x5a7               	JMP	_00075_DS_
                                           ;	op : RETURN
                                           ;	.line	407; "../debug_touch.c"	return;
0005a6   c683     JMP	#0x683               	JMP	_00116_DS_
                                           ;	op : LABEL
                                           ;	op : RETURN
                                           _00075_DS_
                                           ;	.line	410; "../debug_touch.c"	return;
0005a7   c683     JMP	#0x683               	JMP	_00116_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00079_DS_
                                           ;	.line	412; "../debug_touch.c"	CLK_SET_OUT;
                                           	BANKSEL	_TR0_bits
0005a8   6125     CLR	0x25, 1              	CLR	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	414; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
0005a9   6145     CLR	0x45, 1              	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	415; "../debug_touch.c"	Touch_Delay1;
0005aa   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
0005ab   e101     MOVB	0x1                 	BANKSEL	STK00
0005ac   5193     MOV	0x93, R0             	MOV	STK00, R0
0005ad   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
0005ae   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	417; "../debug_touch.c"	CLK_SET_HIGH;		//
0005af   e100     MOVB	0                   	BANKSEL	_P0LR_bits
0005b0   6945     SET	0x45, 1              	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	419; "../debug_touch.c"	Touch_Delay1;
0005b1   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
0005b2   e101     MOVB	0x1                 	BANKSEL	STK00
0005b3   5193     MOV	0x93, R0             	MOV	STK00, R0
0005b4   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
0005b5   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           ;	.line	421; "../debug_touch.c"	if(!DAT_GET_STATE)
                                           	PAGESEL	$
                                           ;	.line	423; "../debug_touch.c"	return;
0005b6   e100     MOVB	0                   	BANKSEL	_P0_bits
0005b7   7805     JB	0x5, 0                	JB	_P0_bits, 0
                                           ;	.line	426; "../debug_touch.c"	CLK_SET_LOW;			//½
0005b8   c683     JMP	#0x683               	JMP	_00116_DS_
                                           	BANKSEL	_P0LR_bits
0005b9   6145     CLR	0x45, 1              	CLR	_P0LR_bits, 1
                                           ;	.line	430; "../debug_touch.c"	Touch_Delay1;
0005ba   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
0005bb   e101     MOVB	0x1                 	BANKSEL	STK00
0005bc   5193     MOV	0x93, R0             	MOV	STK00, R0
0005bd   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
0005be   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	432; "../debug_touch.c"	DAT_SET_OUT;
0005bf   e100     MOVB	0                   	BANKSEL	_TR0_bits
0005c0   6025     CLR	0x25, 0              	CLR	_TR0_bits, 0
                                           ;	op : =
                                           ;	.line	434; "../debug_touch.c"	j=5;
0005c1   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	r0x1008
0005c2   51ad     MOV	0xad, R0             	MOV	r0x1008, R0
                                           ;	op : =
                                           ;	.line	436; "../debug_touch.c"	for(step=0;step<5;step++)
                                           	BANKSEL	r0x1009
0005c3   03ac     CLR	0xac                 	CLR	r0x1009
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x5=5), size=1
                                           _00108_DS_
0005c4   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	r0x1009
0005c5   38ac     SUB	R0, 0xac             	SUB	R0, r0x1009
                                           ;comparing bytes at offset 0
0005c6   7003     JNB	0x3, 0               	JNB	PSW, 0
0005c7   c627     JMP	#0x627               	JMP	_00111_DS_
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x5=5), size=1
                                           ;	.line	438; "../debug_touch.c"	switch(step)
0005c8   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	r0x1009
0005c9   38ac     SUB	R0, 0xac             	SUB	R0, r0x1009
                                           ;comparing bytes at offset 0
0005ca   7003     JNB	0x3, 0               	JNB	PSW, 0
0005cb   c603     JMP	#0x603               	JMP	_00087_DS_
                                           ;	op : JUMPTABLE
0005cc   9805     MOV	R0, #0x5             	MOV	R0,#high _00138_DS_
0005cd   510a     MOV	0xa, R0              	MOV	PCH, R0
0005ce   98d3     MOV	R0, #0xd3            	MOV	R0,#_00138_DS_
                                           	BANKSEL	r0x1009
0005cf   20ac     ADD	R0, 0xac             	ADD	R0, r0x1009
0005d0   7003     JNB	0x3, 0               	JNB	PSW, 0
0005d1   0b0a     INC	0xa                  	INC	PCH
0005d2   5102     MOV	0x2, R0              	MOV	PCL, R0
                                           _00138_DS_
0005d3   c5d8     JMP	#0x5d8               	JMP	_00082_DS_
0005d4   c5e4     JMP	#0x5e4               	JMP	_00083_DS_
0005d5   c5ec     JMP	#0x5ec               	JMP	_00084_DS_
0005d6   c5f4     JMP	#0x5f4               	JMP	_00085_DS_
0005d7   c5fc     JMP	#0x5fc               	JMP	_00086_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00082_DS_
                                           ;	.line	442; "../debug_touch.c"	j=5;
0005d8   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	r0x1008
0005d9   51ad     MOV	0xad, R0             	MOV	r0x1008, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
0005da   50ab     MOV	R0, 0xab             	MOV R0, __KF8_LIBc_channel_
0005db   80fc     ADD	R0, #0xfc            	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
0005dc   990b     MOV	R1, #0xb             	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
0005dd   7003     JNB	0x3, 0               	JNB PSW,0
0005de   ff11     INC	R1                   	INC R1
0005df   530a     MOV	0xa, R1              	MOV PCH,R1
                                           	PAGESEL __R2PCL
0005e0   dbfe     CALL	#0xbfe              	CALL __R2PCL
                                           	PAGESEL $
0005e1   e100     MOVB	0                   	BANKSEL _T_buf
0005e2   51af     MOV	0xaf, R0             	MOV _T_buf,R0
                                           	
                                           ;	op : GOTO
                                           ;	.line	461; "../debug_touch.c"	}break;
0005e3   c603     JMP	#0x603               	JMP	_00087_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00083_DS_
                                           ;	.line	465; "../debug_touch.c"	j=8;
0005e4   9808     MOV	R0, #0x8             	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
0005e5   51ad     MOV	0xad, R0             	MOV	r0x1008, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
0005e6   6003     CLR	0x3, 0               	CLR PSW,0
0005e7   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0005e8   80e8     ADD	R0, #0xe8            	ADD R0,#(__KF8_LIBi_buff_baseline_+0)
0005e9   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _T_buf
0005ea   53af     MOV	0xaf, R1             	MOV _T_buf,R1
                                           	
                                           ;	op : GOTO
                                           ;	.line	480; "../debug_touch.c"	}break;
0005eb   c603     JMP	#0x603               	JMP	_00087_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00084_DS_
                                           ;	.line	484; "../debug_touch.c"	j=8;
0005ec   9808     MOV	R0, #0x8             	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
0005ed   51ad     MOV	0xad, R0             	MOV	r0x1008, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
0005ee   6003     CLR	0x3, 0               	CLR PSW,0
0005ef   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
0005f0   80e9     ADD	R0, #0xe9            	ADD R0,#(__KF8_LIBi_buff_baseline_+1)
0005f1   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _T_buf
0005f2   53af     MOV	0xaf, R1             	MOV _T_buf,R1
                                           	
                                           ;	op : GOTO
                                           ;	.line	500; "../debug_touch.c"	}break;
0005f3   c603     JMP	#0x603               	JMP	_00087_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00085_DS_
                                           ;	.line	504; "../debug_touch.c"	j=8;
0005f4   9808     MOV	R0, #0x8             	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
0005f5   51ad     MOV	0xad, R0             	MOV	r0x1008, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
0005f6   6003     CLR	0x3, 0               	CLR PSW,0
0005f7   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_hit_
0005f8   80ec     ADD	R0, #0xec            	ADD R0,#(__KF8_LIBi_buff_hit_+0)
0005f9   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _T_buf
0005fa   53af     MOV	0xaf, R1             	MOV _T_buf,R1
                                           	
                                           ;	op : GOTO
                                           ;	.line	519; "../debug_touch.c"	}break;
0005fb   c603     JMP	#0x603               	JMP	_00087_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00086_DS_
                                           ;	.line	523; "../debug_touch.c"	j=8;
0005fc   9808     MOV	R0, #0x8             	MOV	R0,# 0x08
                                           	BANKSEL	r0x1008
0005fd   51ad     MOV	0xad, R0             	MOV	r0x1008, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
0005fe   6003     CLR	0x3, 0               	CLR PSW,0
0005ff   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_buff_hit_
000600   80ed     ADD	R0, #0xed            	ADD R0,#(__KF8_LIBi_buff_hit_+1)
000601   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _T_buf
000602   53af     MOV	0xaf, R1             	MOV _T_buf,R1
                                           	
                                           ;	op : LABEL
                                           ;	op : =
                                           _00087_DS_
                                           ;	.line	541; "../debug_touch.c"	for(i_T_D=0;i_T_D<j;i_T_D++)
                                           	BANKSEL	_i_T_D
000603   03ae     CLR	0xae                 	CLR	_i_T_D
                                           ;	op : LABEL
                                           ;	op : <
                                           _00104_DS_
                                           	BANKSEL	r0x1008
000604   0ead     MOVZ	R0, 0xad            	MOVZ	R0, r0x1008
                                           	BANKSEL	_i_T_D
000605   38ae     SUB	R0, 0xae             	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
000606   7003     JNB	0x3, 0               	JNB	PSW, 0
000607   c61f     JMP	#0x61f               	JMP	_00107_DS_
                                           ;	op : BITWISEAND
                                           ;	.line	543; "../debug_touch.c"	if(T_buf&0x01)
                                           	BANKSEL	_T_buf
000608   78af     JB	0xaf, 0               	JB	_T_buf, 0
000609   c60c     JMP	#0x60c               	JMP	_00089_DS_
                                           ;	op : =
                                           ;	.line	544; "../debug_touch.c"	DAT_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
00060a   6845     SET	0x45, 0              	SET	_P0LR_bits, 0
                                           ;	op : GOTO
00060b   c60d     JMP	#0x60d               	JMP	_00090_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00089_DS_
                                           ;	.line	546; "../debug_touch.c"	DAT_SET_LOW;
                                           	BANKSEL	_P0LR_bits
00060c   6045     CLR	0x45, 0              	CLR	_P0LR_bits, 0
                                           ;	op : LABEL
                                           ;	op : =
                                           _00090_DS_
                                           ;	.line	548; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
00060d   6945     SET	0x45, 1              	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	549; "../debug_touch.c"	Touch_Delay1;
00060e   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
00060f   e101     MOVB	0x1                 	BANKSEL	STK00
000610   5193     MOV	0x93, R0             	MOV	STK00, R0
000611   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000612   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	551; "../debug_touch.c"	CLK_SET_LOW;
000613   e100     MOVB	0                   	BANKSEL	_P0LR_bits
000614   6145     CLR	0x45, 1              	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	552; "../debug_touch.c"	Touch_Delay1;
000615   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
000616   e101     MOVB	0x1                 	BANKSEL	STK00
000617   5193     MOV	0x93, R0             	MOV	STK00, R0
000618   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000619   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : RIGHT_OP
                                           ;	.line	554; "../debug_touch.c"	T_buf=T_buf>>1;
00061a   6003     CLR	0x3, 0               	CLR	PSW, 0
00061b   e100     MOVB	0                   	BANKSEL	_T_buf
00061c   11af     RRC	0xaf                 	RRC	_T_buf
                                           ;	op : +
                                           ;	.line	541; "../debug_touch.c"	for(i_T_D=0;i_T_D<j;i_T_D++)
                                           	BANKSEL	_i_T_D
00061d   0bae     INC	0xae                 	INC	_i_T_D
                                           ;	op : GOTO
00061e   c604     JMP	#0x604               	JMP	_00104_DS_
                                           ;	op : LABEL
                                           ;	op : SEND
                                           ;	op : CALL
                                           _00107_DS_
                                           ;	.line	557; "../debug_touch.c"	Touch_Delay2;
00061f   986e     MOV	R0, #0x6e            	MOV	R0,# 0x6e
000620   e101     MOVB	0x1                 	BANKSEL	STK00
000621   5193     MOV	0x93, R0             	MOV	STK00, R0
000622   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000623   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : +
                                           ;	.line	436; "../debug_touch.c"	for(step=0;step<5;step++)
000624   e100     MOVB	0                   	BANKSEL	r0x1009
000625   0bac     INC	0xac                 	INC	r0x1009
                                           ;	op : GOTO
000626   c5c4     JMP	#0x5c4               	JMP	_00108_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00111_DS_
                                           ;	.line	561; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
000627   6825     SET	0x25, 0              	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	562; "../debug_touch.c"	Touch_Delay2;	//жҪʱ
000628   986e     MOV	R0, #0x6e            	MOV	R0,# 0x6e
000629   e101     MOVB	0x1                 	BANKSEL	STK00
00062a   5193     MOV	0x93, R0             	MOV	STK00, R0
00062b   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
00062c   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	564; "../debug_touch.c"	CLK_SET_HIGH;
00062d   e100     MOVB	0                   	BANKSEL	_P0LR_bits
00062e   6945     SET	0x45, 1              	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	565; "../debug_touch.c"	Touch_Delay1;
00062f   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
000630   e101     MOVB	0x1                 	BANKSEL	STK00
000631   5193     MOV	0x93, R0             	MOV	STK00, R0
000632   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000633   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	566; "../debug_touch.c"	Touch_Delay1;
000634   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
000635   e101     MOVB	0x1                 	BANKSEL	STK00
000636   5193     MOV	0x93, R0             	MOV	STK00, R0
000637   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000638   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	567; "../debug_touch.c"	Touch_Delay1;
000639   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
00063a   e101     MOVB	0x1                 	BANKSEL	STK00
00063b   5193     MOV	0x93, R0             	MOV	STK00, R0
00063c   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
00063d   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	570; "../debug_touch.c"	if(DAT_GET_STATE)
00063e   e100     MOVB	0                   	BANKSEL	_P0_bits
00063f   7805     JB	0x5, 0                	JB	_P0_bits, 0
000640   c67a     JMP	#0x67a               	JMP	_00102_DS_
                                           ;	op : =
                                           ;	.line	572; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
000641   6145     CLR	0x45, 1              	CLR	_P0LR_bits, 1
                                           ;	op : =
                                           ;	.line	573; "../debug_touch.c"	T_buf=0;
                                           	BANKSEL	_T_buf
000642   03af     CLR	0xaf                 	CLR	_T_buf
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	574; "../debug_touch.c"	Touch_Delay1;
000643   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
000644   e101     MOVB	0x1                 	BANKSEL	STK00
000645   5193     MOV	0x93, R0             	MOV	STK00, R0
000646   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000647   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	575; "../debug_touch.c"	for(i_T_D=0;i_T_D<6;i_T_D++)
000648   e100     MOVB	0                   	BANKSEL	_i_T_D
000649   03ae     CLR	0xae                 	CLR	_i_T_D
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x6=6), size=1
                                           _00112_DS_
00064a   9806     MOV	R0, #0x6             	MOV	R0,# 0x06
                                           	BANKSEL	_i_T_D
00064b   38ae     SUB	R0, 0xae             	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
00064c   7003     JNB	0x3, 0               	JNB	PSW, 0
00064d   c680     JMP	#0x680               	JMP	_00103_DS_
                                           ;	op : =
                                           ;	.line	577; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
00064e   6945     SET	0x45, 1              	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	578; "../debug_touch.c"	Touch_Delay1;
00064f   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
000650   e101     MOVB	0x1                 	BANKSEL	STK00
000651   5193     MOV	0x93, R0             	MOV	STK00, R0
000652   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000653   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : EQ_OP
                                           ;	.line	580; "../debug_touch.c"	if(i_T_D!=5)
000654   e100     MOVB	0                   	BANKSEL	_i_T_D
000655   0eae     MOVZ	R0, 0xae            	MOVZ	R0, _i_T_D
                                           ;	.line	582; "../debug_touch.c"	T_buf=T_buf>>1;
000656   a805     XOR	R0, #0x5             	XOR	R0,# 0x05
000657   7203     JNB	0x3, 2               	JNB	PSW, 2
000658   c65f     JMP	#0x65f               	JMP	_00099_DS_
000659   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	_T_buf
00065a   11af     RRC	0xaf                 	RRC	_T_buf
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	583; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
00065b   7805     JB	0x5, 0                	JB	_P0_bits, 0
00065c   c670     JMP	#0x670               	JMP	_00100_DS_
                                           ;	op : |
                                           ;	.line	584; "../debug_touch.c"	T_buf=T_buf|0x10;
                                           	BANKSEL	_T_buf
00065d   6caf     SET	0xaf, 4              	SET	_T_buf, 4
                                           ;	op : GOTO
00065e   c670     JMP	#0x670               	JMP	_00100_DS_
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x10=16), size=1
                                           _00099_DS_
                                           ;	.line	588; "../debug_touch.c"	if(T_buf<16)   //ģ·Ӱ
00065f   9810     MOV	R0, #0x10            	MOV	R0,# 0x10
                                           	BANKSEL	_T_buf
000660   38af     SUB	R0, 0xaf             	SUB	R0, _T_buf
                                           ;comparing bytes at offset 0
000661   7003     JNB	0x3, 0               	JNB	PSW, 0
000662   c670     JMP	#0x670               	JMP	_00100_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	590; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
000663   7805     JB	0x5, 0                	JB	_P0_bits, 0
000664   c66b     JMP	#0x66b               	JMP	_00094_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _T_buf
000665   50af     MOV	R0, 0xaf             	MOV R0,_T_buf
000666   8094     ADD	R0, #0x94            	ADD R0,#(_TOUCH_CH_TRS_EN+0)
000667   9901     MOV	R1, #0x1             	MOV R1,#0x01
000668   e101     MOVB	0x1                 	BANKSEL _TOUCH_CH_TRS_EN
000669   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : GOTO
00066a   c670     JMP	#0x670               	JMP	_00100_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00094_DS_
                                           	BANKSEL _T_buf
00066b   50af     MOV	R0, 0xaf             	MOV R0,_T_buf
00066c   8094     ADD	R0, #0x94            	ADD R0,#(_TOUCH_CH_TRS_EN+0)
00066d   9900     MOV	R1, #0               	MOV R1,#0x00
00066e   e101     MOVB	0x1                 	BANKSEL _TOUCH_CH_TRS_EN
00066f   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : LABEL
                                           ;	op : =
                                           _00100_DS_
                                           ;	.line	616; "../debug_touch.c"	CLK_SET_LOW;
000670   e100     MOVB	0                   	BANKSEL	_P0LR_bits
000671   6145     CLR	0x45, 1              	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	617; "../debug_touch.c"	Touch_Delay1;
000672   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
000673   e101     MOVB	0x1                 	BANKSEL	STK00
000674   5193     MOV	0x93, R0             	MOV	STK00, R0
000675   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000676   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : +
                                           ;	.line	575; "../debug_touch.c"	for(i_T_D=0;i_T_D<6;i_T_D++)
000677   e100     MOVB	0                   	BANKSEL	_i_T_D
000678   0bae     INC	0xae                 	INC	_i_T_D
                                           ;	op : GOTO
000679   c64a     JMP	#0x64a               	JMP	_00112_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00102_DS_
                                           ;	.line	622; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
00067a   6145     CLR	0x45, 1              	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	623; "../debug_touch.c"	Touch_Delay1;
00067b   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
00067c   e101     MOVB	0x1                 	BANKSEL	STK00
00067d   5193     MOV	0x93, R0             	MOV	STK00, R0
00067e   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
00067f   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : =
                                           _00103_DS_
                                           ;	.line	626; "../debug_touch.c"	CLK_SET_IN;
000680   e100     MOVB	0                   	BANKSEL	_TR0_bits
000681   6925     SET	0x25, 1              	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	627; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
000682   6825     SET	0x25, 0              	SET	_TR0_bits, 0
                                           ;	op : INLINEASM
                                           Label_x_y_z_a:
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00116_DS_
                                           ;	.line	635; "../debug_touch.c"	if(1);
000683   0008     CRET                     	CRET	
                                           ; exit point of _TOUCH_DEBUG_TRS_DEAL
                                           
                                           
                                           
                                           func._TOUCH_DEBUG_TRS_BAIHUALV	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _TOUCH_DEBUG_TRS_BAIHUALV	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;3 compiler assigned registers:
                                           ;   STK00
                                           ;   r0x100A
                                           ;   r0x100B
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _TOUCH_DEBUG_TRS_BAIHUALV	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
                                           	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
                                           	MOV R0,#(0)
                                           	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
                                           	JNB PSW,0
                                           	INC R1
                                           	PAGESEL __R2PCL
                                           	CALL __R2PCL
                                           	PAGESEL $
                                           	ADD R0,#(_TOUCH_CH_TRS_EN+0)
                                           	MOV R1,#0x01
                                           	BANKSEL _TOUCH_CH_TRS_EN
                                           	ST [R0],R1
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
                                           	MOV R0,__KF8_LIBc_channel_
                                           	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
                                           	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
                                           	JNB PSW,0
                                           	INC R1
                                           	PAGESEL __R2PCL
                                           	CALL __R2PCL
                                           	PAGESEL $
                                           	ADD R0,#(_TOUCH_CH_TRS_EN+0)
                                           	BANKSEL _TOUCH_CH_TRS_EN
                                           	LD R1,[R0]
                                           	XOR R1,#0x00
                                           	JNB PSW,2
                                           	JMP Label_x_y_z_a_1
                                           	
                                           ;	op : =
                                           ;	.line	68; "../debug_touch.c"	CLK_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	69; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	70; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	74; "../debug_touch.c"	if(CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 1
                                           	JMP	_00007_DS_
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	76; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	77; "../debug_touch.c"	if(!CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JNB	_P0_bits, 1
                                           	JMP	_00008_DS_
                                           ;	op : RETURN
                                           ;	.line	78; "../debug_touch.c"	return;
                                           	JMP	_00045_DS_
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00007_DS_
                                           ;	.line	80; "../debug_touch.c"	else if(!CLK_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JNB	_P0_bits, 1
                                           	JMP	_00004_DS_
                                           ;	op : RETURN
                                           ;	.line	82; "../debug_touch.c"	return;
                                           	JMP	_00045_DS_
                                           ;	op : LABEL
                                           ;	op : RETURN
                                           _00004_DS_
                                           ;	.line	85; "../debug_touch.c"	return;
                                           	JMP	_00045_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00008_DS_
                                           ;	.line	87; "../debug_touch.c"	CLK_SET_OUT;
                                           	BANKSEL	_TR0_bits
                                           	CLR	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	89; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	90; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	92; "../debug_touch.c"	CLK_SET_HIGH;		//
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	94; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           ;	.line	96; "../debug_touch.c"	if(!DAT_GET_STATE)
                                           	PAGESEL	$
                                           ;	.line	98; "../debug_touch.c"	return;
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           ;	.line	101; "../debug_touch.c"	CLK_SET_LOW;			//½
                                           	JMP	_00045_DS_
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	.line	105; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	107; "../debug_touch.c"	DAT_SET_OUT;
                                           	BANKSEL	_TR0_bits
                                           	CLR	_TR0_bits, 0
                                           ;	op : =
                                           ;	.line	109; "../debug_touch.c"	j=5;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x100A
                                           	MOV	r0x100A, R0
                                           ;	op : =
                                           ;	.line	111; "../debug_touch.c"	for(step=0;step<5;step++)
                                           	BANKSEL	r0x100B
                                           	CLR	r0x100B
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x5=5), size=1
                                           _00037_DS_
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x100B
                                           	SUB	R0, r0x100B
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00040_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
                                           	CLR PSW,0
                                           	RLCR __KF8_LIBc_channel_
                                           	BANKSEL __KF8_LIBi_Date_Change_
                                           	ADD R0,#(__KF8_LIBi_Date_Change_+0)
                                           	LD R1,[R0]
                                           	BANKSEL _Date_Baihualv_Get_V
                                           	MOV _Date_Baihualv_Get_V,R1
                                           	INC R0
                                           	BANKSEL __KF8_LIBi_Date_Change_
                                           	LD R1,[R0]
                                           	BANKSEL _Date_Baihualv_Get_V
                                           	MOV _Date_Baihualv_Get_V+1,R1
                                           	
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x5=5), size=1
                                           ;	.line	131; "../debug_touch.c"	switch(step)
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x100B
                                           	SUB	R0, r0x100B
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00016_DS_
                                           ;	op : JUMPTABLE
                                           	MOV	R0,#high _00067_DS_
                                           	MOV	PCH, R0
                                           	MOV	R0,#_00067_DS_
                                           	BANKSEL	r0x100B
                                           	ADD	R0, r0x100B
                                           	JNB	PSW, 0
                                           	INC	PCH
                                           	MOV	PCL, R0
                                           _00067_DS_
                                           	JMP	_00011_DS_
                                           	JMP	_00012_DS_
                                           	JMP	_00013_DS_
                                           	JMP	_00014_DS_
                                           	JMP	_00015_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00011_DS_
                                           ;	.line	135; "../debug_touch.c"	j=5;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	r0x100A
                                           	MOV	r0x100A, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_channel_
                                           	MOV R0, __KF8_LIBc_channel_
                                           	ADD R0,#Low(__KF8_TOUCH_CH_EN+0)
                                           	MOV R1,#High(__KF8_TOUCH_CH_EN+0)
                                           	JNB PSW,0
                                           	INC R1
                                           	MOV PCH,R1
                                           	PAGESEL __R2PCL
                                           	CALL __R2PCL
                                           	PAGESEL $
                                           	BANKSEL _T_buf
                                           	MOV _T_buf,R0
                                           	
                                           ;	op : GOTO
                                           ;	.line	154; "../debug_touch.c"	}break;
                                           	JMP	_00016_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00012_DS_
                                           ;	.line	158; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x100A
                                           	MOV	r0x100A, R0
                                           ;	op : INLINEASM
                                           	BANKSEL _Date_Baihualv_Get_V
                                           	MOV R1,_Date_Baihualv_Get_V
                                           	JB _Date_Baihualv_Get_V+1,7
                                           	JMP $+2
                                           	CPL R1
                                           	INC R1
                                           	BANKSEL _T_buf
                                           	MOV _T_buf,R1
                                           	
                                           ;	op : GOTO
                                           ;	.line	173; "../debug_touch.c"	}break;
                                           	JMP	_00016_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00013_DS_
                                           ;	.line	177; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x100A
                                           	MOV	r0x100A, R0
                                           ;	op : INLINEASM
                                           	BANKSEL _Date_Baihualv_Get_V
                                           	MOV R1,_Date_Baihualv_Get_V+1
                                           	JB R1,7
                                           	JMP Show_temp_DS_000
                                           	CPL R1
                                           	MOV R0,_Date_Baihualv_Get_V
                                           	CPL R0
                                           	INC R0
                                           	JNB PSW,2
                                           	INC R1
                                           Show_temp_DS_000:
                                           	BANKSEL _T_buf
                                           	MOV _T_buf,R1
                                           	
                                           ;	op : GOTO
                                           ;	.line	200; "../debug_touch.c"	}break;
                                           	JMP	_00016_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00014_DS_
                                           ;	.line	204; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x100A
                                           	MOV	r0x100A, R0
                                           ;	op : INLINEASM
                                           	BANKSEL _Date_Baihualv_Get_V
                                           	MOV R1,_Date_Baihualv_Get_V
                                           	JB _Date_Baihualv_Get_V+1,7
                                           	JMP $+2
                                           	CPL R1
                                           	INC R1
                                           	BANKSEL _T_buf
                                           	MOV _T_buf,R1
                                           	
                                           ;	op : GOTO
                                           ;	.line	219; "../debug_touch.c"	}break;
                                           	JMP	_00016_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00015_DS_
                                           ;	.line	223; "../debug_touch.c"	j=8;
                                           	MOV	R0,# 0x08
                                           	BANKSEL	r0x100A
                                           	MOV	r0x100A, R0
                                           ;	op : INLINEASM
                                           	BANKSEL _Date_Baihualv_Get_V
                                           	MOV R1,_Date_Baihualv_Get_V+1
                                           	JB R1,7
                                           	JMP Show_temp_DS_001
                                           	CPL R1
                                           	MOV R0,_Date_Baihualv_Get_V
                                           	CPL R0
                                           	INC R0
                                           	JNB PSW,2
                                           	INC R1
                                           	INC R1
                                           Show_temp_DS_001:
                                           	BANKSEL _T_buf
                                           	MOV _T_buf,R1
                                           	
                                           ;	op : LABEL
                                           ;	op : =
                                           _00016_DS_
                                           ;	.line	250; "../debug_touch.c"	for(i_T_D=0;i_T_D<j;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	CLR	_i_T_D
                                           ;	op : LABEL
                                           ;	op : <
                                           _00033_DS_
                                           	BANKSEL	r0x100A
                                           	MOVZ	R0, r0x100A
                                           	BANKSEL	_i_T_D
                                           	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00036_DS_
                                           ;	op : BITWISEAND
                                           ;	.line	252; "../debug_touch.c"	if(T_buf&0x01)
                                           	BANKSEL	_T_buf
                                           	JB	_T_buf, 0
                                           	JMP	_00018_DS_
                                           ;	op : =
                                           ;	.line	253; "../debug_touch.c"	DAT_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 0
                                           ;	op : GOTO
                                           	JMP	_00019_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00018_DS_
                                           ;	.line	255; "../debug_touch.c"	DAT_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 0
                                           ;	op : LABEL
                                           ;	op : =
                                           _00019_DS_
                                           ;	.line	257; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	258; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	260; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	261; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : RIGHT_OP
                                           ;	.line	263; "../debug_touch.c"	T_buf=T_buf>>1;
                                           	CLR	PSW, 0
                                           	BANKSEL	_T_buf
                                           	RRC	_T_buf
                                           ;	op : +
                                           ;	.line	250; "../debug_touch.c"	for(i_T_D=0;i_T_D<j;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	INC	_i_T_D
                                           ;	op : GOTO
                                           	JMP	_00033_DS_
                                           ;	op : LABEL
                                           ;	op : SEND
                                           ;	op : CALL
                                           _00036_DS_
                                           ;	.line	266; "../debug_touch.c"	Touch_Delay2;
                                           	MOV	R0,# 0x6e
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : +
                                           ;	.line	111; "../debug_touch.c"	for(step=0;step<5;step++)
                                           	BANKSEL	r0x100B
                                           	INC	r0x100B
                                           ;	op : GOTO
                                           	JMP	_00037_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00040_DS_
                                           ;	.line	270; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	271; "../debug_touch.c"	Touch_Delay2;	//жҪʱ
                                           	MOV	R0,# 0x6e
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	273; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	274; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	275; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	276; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	279; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           	JMP	_00031_DS_
                                           ;	op : =
                                           ;	.line	281; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	op : =
                                           ;	.line	282; "../debug_touch.c"	T_buf=0;
                                           	BANKSEL	_T_buf
                                           	CLR	_T_buf
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	283; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	284; "../debug_touch.c"	for(i_T_D=0;i_T_D<6;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	CLR	_i_T_D
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x6=6), size=1
                                           _00041_DS_
                                           	MOV	R0,# 0x06
                                           	BANKSEL	_i_T_D
                                           	SUB	R0, _i_T_D
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00032_DS_
                                           ;	op : =
                                           ;	.line	286; "../debug_touch.c"	CLK_SET_HIGH;
                                           	BANKSEL	_P0LR_bits
                                           	SET	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	287; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : EQ_OP
                                           ;	.line	289; "../debug_touch.c"	if(i_T_D!=5)
                                           	BANKSEL	_i_T_D
                                           	MOVZ	R0, _i_T_D
                                           ;	.line	291; "../debug_touch.c"	T_buf=T_buf>>1;
                                           	XOR	R0,# 0x05
                                           	JNB	PSW, 2
                                           	JMP	_00028_DS_
                                           	CLR	PSW, 0
                                           	BANKSEL	_T_buf
                                           	RRC	_T_buf
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	292; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           	JMP	_00029_DS_
                                           ;	op : |
                                           ;	.line	293; "../debug_touch.c"	T_buf=T_buf|0x10;
                                           	BANKSEL	_T_buf
                                           	SET	_T_buf, 4
                                           ;	op : GOTO
                                           	JMP	_00029_DS_
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x10=16), size=1
                                           _00028_DS_
                                           ;	.line	297; "../debug_touch.c"	if(T_buf<16)   //ģ·Ӱ
                                           	MOV	R0,# 0x10
                                           	BANKSEL	_T_buf
                                           	SUB	R0, _T_buf
                                           ;comparing bytes at offset 0
                                           	JNB	PSW, 0
                                           	JMP	_00029_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	299; "../debug_touch.c"	if(DAT_GET_STATE)
                                           	BANKSEL	_P0_bits
                                           	JB	_P0_bits, 0
                                           	JMP	_00023_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _T_buf
                                           	MOV R0,_T_buf
                                           	ADD R0,#(_TOUCH_CH_TRS_EN+0)
                                           	MOV R1,#0x01
                                           	BANKSEL _TOUCH_CH_TRS_EN
                                           	ST [R0],R1
                                           	
                                           ;	op : GOTO
                                           	JMP	_00029_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00023_DS_
                                           	BANKSEL _T_buf
                                           	MOV R0,_T_buf
                                           	ADD R0,#(_TOUCH_CH_TRS_EN+0)
                                           	MOV R1,#0x00
                                           	BANKSEL _TOUCH_CH_TRS_EN
                                           	ST [R0],R1
                                           	
                                           ;	op : LABEL
                                           ;	op : =
                                           _00029_DS_
                                           ;	.line	325; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	326; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : +
                                           ;	.line	284; "../debug_touch.c"	for(i_T_D=0;i_T_D<6;i_T_D++)
                                           	BANKSEL	_i_T_D
                                           	INC	_i_T_D
                                           ;	op : GOTO
                                           	JMP	_00041_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00031_DS_
                                           ;	.line	331; "../debug_touch.c"	CLK_SET_LOW;
                                           	BANKSEL	_P0LR_bits
                                           	CLR	_P0LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	332; "../debug_touch.c"	Touch_Delay1;
                                           	MOV	R0,# 0x05
                                           	BANKSEL	STK00
                                           	MOV	STK00, R0
                                           	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
                                           	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : =
                                           _00032_DS_
                                           ;	.line	335; "../debug_touch.c"	CLK_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 1
                                           ;	op : =
                                           ;	.line	336; "../debug_touch.c"	DAT_SET_IN;
                                           	BANKSEL	_TR0_bits
                                           	SET	_TR0_bits, 0
                                           ;	op : INLINEASM
                                           Label_x_y_z_a_1:
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00045_DS_
                                           	CRET	
                                           ; exit point of _TOUCH_DEBUG_TRS_BAIHUALV
                                           
                                           
                                           ;	code size estimation:
                                           ;	  571+  192 =   763 instructions ( 1910 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Tue Apr 03 20:31:48 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../init_mcu.c"
                                           	.radix dec
                                           	.include "KF8TS2508.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           ADSCANCTL		.EQU                 0x18
                                           VDACS			.EQU                 0x1A
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           ADCDATA1H		.EQU                 0x50
                                           ADCDATA1L		.EQU                 0x51
                                           CTCTL0			.EQU                 0x53
                                           ADCINTCTL		.EQU                 0x58
                                           ADCDATA2H		.EQU                 0x59
                                           ADCDATA2L		.EQU                 0x5A
                                           ADCDATA3H		.EQU                 0x5E
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  18H  ADSCANCTL   Bits-------------------------------------
                                           ADSCANEN		.EQU                7
                                           SMOD1			.EQU                6
                                           SMOD0			.EQU                5
                                           STIM4			.EQU                4
                                           STIM3			.EQU                3
                                           STIM2			.EQU                2
                                           STIM1			.EQU                1
                                           STIM0			.EQU                0
                                           _ADSCANEN		.EQU                7
                                           _SMOD1			.EQU                6
                                           _SMOD0			.EQU                5
                                           _STIM4			.EQU                4
                                           _STIM3			.EQU                3
                                           _STIM2			.EQU                2
                                           _STIM1			.EQU                1
                                           _STIM0			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  58H  ADCINTCTL   Bits-------------------------------------
                                           INTCTL1			.EQU                1
                                           INTCTL0			.EQU                0
                                           _INTCTL1		.EQU                1
                                           _INTCTL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	__KF8spts2w_LIBf_init_touch_
                                           	.extern	__KF8spts2w_LIBf_touch_process_
                                           	.extern	__KF8spts2w_Lib_SET_MCU_Parameter
                                           	.extern	_read_data_eep_ts2w_
                                           	.extern	_write_eep_ts2w_
                                           	.extern	__R2PCL
                                           	.extern	_TOUCH_DEBUG_TRS_DEAL
                                           	.extern	_TOUCH_DEBUG_TRS_BAIHUALV
                                           	.extern	_TOUCH_DEBUG_SEND_OUT
                                           	.extern	_delay_ms
                                           	.extern	_delay_us
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_PCH_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_BANK_bits
                                           	.extern	_ADSCANCTL_bits
                                           	.extern	_VDACS_bits
                                           	.extern	_ANSEH_bits
                                           	.extern	_ADCCTL0_bits
                                           	.extern	_OPTR_bits
                                           	.extern	_IP0_bits
                                           	.extern	_IP1_bits
                                           	.extern	_IP2_bits
                                           	.extern	_TR0_bits
                                           	.extern	_TR2_bits
                                           	.extern	_TR1_bits
                                           	.extern	_OSCSTA_bits
                                           	.extern	_IP3_bits
                                           	.extern	_VRECTL_bits
                                           	.extern	_EIE1_bits
                                           	.extern	_EIE2_bits
                                           	.extern	_PCTL_bits
                                           	.extern	_OSCCTL_bits
                                           	.extern	_ANSEL_bits
                                           	.extern	_PUR0_bits
                                           	.extern	_IOCL_bits
                                           	.extern	_ADCCTL1_bits
                                           	.extern	_P0LR_bits
                                           	.extern	_P2LR_bits
                                           	.extern	_P1LR_bits
                                           	.extern	_EIE3_bits
                                           	.extern	_EIF3_bits
                                           	.extern	_T3CTL_bits
                                           	.extern	_CTCTL0_bits
                                           	.extern	_ADCINTCTL_bits
                                           	.extern	_PUR1_bits
                                           	.extern	_PUR2_bits
                                           	.extern	_CTCTL1_bits
                                           	.extern	_INTEDGCTL_bits
                                           	.extern	_VDAC_bits
                                           	.extern	_VRES_bits
                                           	.extern	_SSCICTL0_bits
                                           	.extern	_SSCICTL1_bits
                                           	.extern	_SSCISTA_bits
                                           	.extern	_SSCIADD_bits
                                           	.extern	_SSCIMSK_bits
                                           	.extern	_WDTPS_bits
                                           	.extern	_CTCTL2_bits
                                           	.extern	_T4CTL_bits
                                           	.extern	__KF8_Disturb_Protect_Circle_
                                           	.extern	__KF8_Up_BaseLine_Circle_
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBi_Date_Change_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBi_buff_hit_
                                           	.extern	__KF8_LIBi_buff_baseline_
                                           	.extern	__KF8_LIBi_buff_refline_
                                           	.extern	__KF8_LIBc_touch_count_
                                           	.extern	_Arr_erom_TS2W_
                                           	.extern	_sentbuf1
                                           	.extern	_sentbuf2
                                           	.extern	_sentbuf3
                                           	.extern	_sentbuf4
                                           	.extern	_Flag
                                           	.extern	_AlarmFlag
                                           	.extern	_CurrentAdjustNum
                                           	.extern	_KeyDownNum
                                           	.extern	_Time20MScnt
                                           	.extern	_V_NoWatercnt
                                           	.extern	_AdjustOvercnt
                                           	.extern	_NoWaterTimecnt
                                           	.extern	_main_cnt
                                           	.extern	_SubNum
                                           	.extern	_AD_temp_V
                                           	.extern	_AD_temp_I
                                           	.extern	_AD_V
                                           	.extern	_AD_I
                                           	.extern	_AD_cnt
                                           	.extern	_Power
                                           	.extern	_LEDFre
                                           	.extern	_CurrentShortCnt
                                           	.extern	_I_NoWatercnt
                                           	.extern	_cnt
                                           	.extern	_keycnt
                                           	.extern	_keycnttime
                                           	.extern	_CHS_AMOUNT
                                           	.extern	_TCS_AMOUNT
                                           	.extern	__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
                                           	.extern	__KF8_Disturb_Protect_Circle_Define
                                           	.extern	__KF8_Up_BaseLine_Circle_Define
                                           	.extern	__KF8_Inside_Reference_Channel_Order
                                           	.extern	__KF8_Config_Finger_Threshold
                                           	.extern	_CONFIG_NO_FINGER_THRESHOLD
                                           	.extern	__KF8_TOUCH_CH_EN
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWM1L
                                           	.extern	_PWMCTL
                                           	.extern	_PP1
                                           	.extern	_BANK
                                           	.extern	_ADSCANCTL
                                           	.extern	_VDACS
                                           	.extern	_ANSEH
                                           	.extern	_ADCDATA0H
                                           	.extern	_ADCCTL0
                                           	.extern	_OPTR
                                           	.extern	_IP0
                                           	.extern	_IP1
                                           	.extern	_IP2
                                           	.extern	_TR0
                                           	.extern	_TR2
                                           	.extern	_TR1
                                           	.extern	_OSCSTA
                                           	.extern	_IP3
                                           	.extern	_VRECAL1
                                           	.extern	_VRECTL
                                           	.extern	_EIE1
                                           	.extern	_EIE2
                                           	.extern	_PCTL
                                           	.extern	_OSCCTL
                                           	.extern	_OSCCAL0
                                           	.extern	_ANSEL
                                           	.extern	_PP2
                                           	.extern	_PWM2L
                                           	.extern	_PUR0
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_NVMDATAH
                                           	.extern	_NVMDATAL
                                           	.extern	_NVMADDRH
                                           	.extern	_NVMADDRL
                                           	.extern	_NVMCTL0
                                           	.extern	_NVMCTL1
                                           	.extern	_ADCDATA0L
                                           	.extern	_ADCCTL1
                                           	.extern	_P0LR
                                           	.extern	_P2LR
                                           	.extern	_P1LR
                                           	.extern	_EIE3
                                           	.extern	_EIF3
                                           	.extern	_OSCCAL2
                                           	.extern	_OSCCAL3
                                           	.extern	_T3CTL
                                           	.extern	_T3L
                                           	.extern	_ADCDATA1H
                                           	.extern	_ADCDATA1L
                                           	.extern	_CTCTL0
                                           	.extern	_ADCINTCTL
                                           	.extern	_ADCDATA2H
                                           	.extern	_ADCDATA2L
                                           	.extern	_ADCDATA3H
                                           	.extern	_T3H
                                           	.extern	_PUR1
                                           	.extern	_PUR2
                                           	.extern	_CTCTL1
                                           	.extern	_INTEDGCTL
                                           	.extern	_ADCDATA3L
                                           	.extern	_VDAC
                                           	.extern	_VRES
                                           	.extern	_SSCICTL0
                                           	.extern	_SSCICTL1
                                           	.extern	_SSCISTA
                                           	.extern	_SSCIBUFR
                                           	.extern	_SSCIADD
                                           	.extern	_SSCIMSK
                                           	.extern	_WDTPS
                                           	.extern	_VRECAL2
                                           	.extern	_VRECAL3
                                           	.extern	_CTCTL2
                                           	.extern	_T4L
                                           	.extern	_T4H
                                           	.extern	_T4REL
                                           	.extern	_T4REH
                                           	.extern	_T4CTL
                                           	.extern	_RC32KCAL
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.extern I1PSW
                                           	.extern I1PCH
                                           	.extern STK11
                                           	.extern STK10
                                           	.extern STK09
                                           	.extern STK08
                                           	.extern STK07
                                           	.extern STK06
                                           	.extern STK05
                                           	.extern STK04
                                           	.extern STK03
                                           	.extern STK02
                                           	.extern STK01
                                           	.extern STK00
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           	.global	_T0InitFun
                                           	.global	_Pmw1InitFun
                                           	.global	_init_mcu
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           
                                           func._T0InitFun	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _T0InitFun	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _T0InitFun	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	62; "../init_mcu.c"	OPTR=OPTR_INIT;
000bdb   9881     MOV	R0, #0x81            	MOV	R0,# 0x81
000bdc   e100     MOVB	0                   	BANKSEL	_OPTR
000bdd   5121     MOV	0x21, R0             	MOV	_OPTR, R0
                                           ;	op : =
                                           ;	.line	63; "../init_mcu.c"	PT0 = 1;
                                           	BANKSEL	_IP0_bits
000bde   6a22     SET	0x22, 2              	SET	_IP0_bits, 2
                                           ;	op : =
                                           ;	.line	64; "../init_mcu.c"	T0=T0_MAX;
000bdf   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	_T0
000be0   5101     MOV	0x1, R0              	MOV	_T0, R0
                                           ;	op : =
                                           ;	.line	65; "../init_mcu.c"	T0IE=1;
                                           	BANKSEL	_INTCTL_bits
000be1   6d0b     SET	0xb, 5               	SET	_INTCTL_bits, 5
                                           ;	op : =
                                           ;	.line	66; "../init_mcu.c"	T0IF=1;
                                           	BANKSEL	_INTCTL_bits
000be2   6a0b     SET	0xb, 2               	SET	_INTCTL_bits, 2
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000be3   0008     CRET                     	CRET	
                                           ; exit point of _T0InitFun
                                           
                                           
                                           
                                           func._Pmw1InitFun	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _Pmw1InitFun	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _Pmw1InitFun	;Function start
                                           ; 2 exit points
                                           ;	op : BITWISEAND
                                           ;	.line	52; "../init_mcu.c"	T3CTL &=0b11110111;					//PWMS=0PWM1䵽P0.2PWM2䵽P1.0
000bc6   e100     MOVB	0                   	BANKSEL	_T3CTL
000bc7   634e     CLR	0x4e, 3              	CLR	_T3CTL, 3
                                           ;	op : =
                                           ;	.line	53; "../init_mcu.c"	T1CLKEN=1;							//T1ʱѡINTHF
                                           	BANKSEL	_INTEDGCTL_bits
000bc8   6867     SET	0x67, 0              	SET	_INTEDGCTL_bits, 0
                                           ;	op : =
                                           ;	.line	54; "../init_mcu.c"	T1CTL = T1CTL_INIT;					//T1,1Ƶ
000bc9   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	_T1CTL
000bca   5110     MOV	0x10, R0             	MOV	_T1CTL, R0
                                           ;	op : =
                                           ;	.line	55; "../init_mcu.c"	PP1 = PP1_17M;								//1.7MHz
000bcb   9808     MOV	R0, #0x8             	MOV	R0,# 0x08
                                           	BANKSEL	_PP1
000bcc   5116     MOV	0x16, R0             	MOV	_PP1, R0
                                           ;	op : RIGHT_OP
                                           ;	.line	56; "../init_mcu.c"	PWM1L = PP1/2;
000bcd   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	_PP1
000bce   1016     RRCR	0x16                	RRCR	_PP1
                                           	BANKSEL	_PWM1L
000bcf   5113     MOV	0x13, R0             	MOV	_PWM1L, R0
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000bd0   0008     CRET                     	CRET	
                                           ; exit point of _Pmw1InitFun
                                           
                                           
                                           
                                           func._init_mcu	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _init_mcu	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _init_mcu	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	18; "../init_mcu.c"	OSCCTL = OSCCTL_INIT;//MAX 16m
000fe0   9870     MOV	R0, #0x70            	MOV	R0,# 0x70
000fe1   e100     MOVB	0                   	BANKSEL	_OSCCTL
000fe2   512f     MOV	0x2f, R0             	MOV	_OSCCTL, R0
                                           ;	op : =
                                           ;	.line	21; "../init_mcu.c"	TR0 = TR0_INIT;
000fe3   9838     MOV	R0, #0x38            	MOV	R0,# 0x38
                                           	BANKSEL	_TR0
000fe4   5125     MOV	0x25, R0             	MOV	_TR0, R0
                                           ;	op : =
                                           ;	.line	22; "../init_mcu.c"	TR1 = TR1_INIT;
000fe5   9806     MOV	R0, #0x6             	MOV	R0,# 0x06
                                           	BANKSEL	_TR1
000fe6   5127     MOV	0x27, R0             	MOV	_TR1, R0
                                           ;	op : =
                                           ;	.line	23; "../init_mcu.c"	TR2 = TR2_INIT;
000fe7   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	_TR2
000fe8   5126     MOV	0x26, R0             	MOV	_TR2, R0
                                           ;	op : =
                                           ;	.line	25; "../init_mcu.c"	P0LR=0x00;
                                           	BANKSEL	_P0LR
000fe9   0345     CLR	0x45                 	CLR	_P0LR
                                           ;	op : =
                                           ;	.line	26; "../init_mcu.c"	P1LR=0x00;
                                           	BANKSEL	_P1LR
000fea   0347     CLR	0x47                 	CLR	_P1LR
                                           ;	op : =
                                           ;	.line	27; "../init_mcu.c"	P2LR=0x00;
                                           	BANKSEL	_P2LR
000feb   0346     CLR	0x46                 	CLR	_P2LR
                                           ;	op : =
                                           ;	.line	29; "../init_mcu.c"	P0=0x00;
                                           	BANKSEL	_P0
000fec   0305     CLR	0x5                  	CLR	_P0
                                           ;	op : =
                                           ;	.line	30; "../init_mcu.c"	P1=0x00;
                                           	BANKSEL	_P1
000fed   0307     CLR	0x7                  	CLR	_P1
                                           ;	op : =
                                           ;	.line	31; "../init_mcu.c"	P2=0x00;
                                           	BANKSEL	_P2
000fee   0306     CLR	0x6                  	CLR	_P2
                                           ;	op : =
                                           ;	.line	37; "../init_mcu.c"	IPEN=1;
                                           	BANKSEL	_PCTL_bits
000fef   6b2e     SET	0x2e, 3              	SET	_PCTL_bits, 3
                                           ;	op : =
                                           ;	.line	39; "../init_mcu.c"	PT3 = 1;		// ʹT4ͬ趨ΪȼT3ĴжϿѡȼ
                                           	BANKSEL	_IP2_bits
000ff0   6f24     SET	0x24, 7              	SET	_IP2_bits, 7
                                           ;	op : =
                                           ;	.line	43; "../init_mcu.c"	ANSEL = ANSEL_INIT;
000ff1   9806     MOV	R0, #0x6             	MOV	R0,# 0x06
                                           	BANKSEL	_ANSEL
000ff2   5131     MOV	0x31, R0             	MOV	_ANSEL, R0
                                           ;	op : =
                                           ;	.line	44; "../init_mcu.c"	ANSEH = ANSEH_INIT;							//ҵΪģ
000ff3   9820     MOV	R0, #0x20            	MOV	R0,# 0x20
                                           	BANKSEL	_ANSEH
000ff4   511d     MOV	0x1d, R0             	MOV	_ANSEH, R0
                                           ;	op : =
                                           ;	.line	45; "../init_mcu.c"	ADCCTL1=ADCCTL1_INIT;
000ff5   984d     MOV	R0, #0x4d            	MOV	R0,# 0x4d
                                           	BANKSEL	_ADCCTL1
000ff6   513f     MOV	0x3f, R0             	MOV	_ADCCTL1, R0
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000ff7   0008     CRET                     	CRET	
                                           ; exit point of _init_mcu
                                           
                                           
                                           ;	code size estimation:
                                           ;	   41+   26 =    67 instructions (  186 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Tue Apr 03 20:31:51 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../kf8spts2w_lib_touch.c"
                                           	.radix dec
                                           	.include "KF8TS2508.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           ADSCANCTL		.EQU                 0x18
                                           VDACS			.EQU                 0x1A
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           ADCDATA1H		.EQU                 0x50
                                           ADCDATA1L		.EQU                 0x51
                                           CTCTL0			.EQU                 0x53
                                           ADCINTCTL		.EQU                 0x58
                                           ADCDATA2H		.EQU                 0x59
                                           ADCDATA2L		.EQU                 0x5A
                                           ADCDATA3H		.EQU                 0x5E
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  18H  ADSCANCTL   Bits-------------------------------------
                                           ADSCANEN		.EQU                7
                                           SMOD1			.EQU                6
                                           SMOD0			.EQU                5
                                           STIM4			.EQU                4
                                           STIM3			.EQU                3
                                           STIM2			.EQU                2
                                           STIM1			.EQU                1
                                           STIM0			.EQU                0
                                           _ADSCANEN		.EQU                7
                                           _SMOD1			.EQU                6
                                           _SMOD0			.EQU                5
                                           _STIM4			.EQU                4
                                           _STIM3			.EQU                3
                                           _STIM2			.EQU                2
                                           _STIM1			.EQU                1
                                           _STIM0			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  58H  ADCINTCTL   Bits-------------------------------------
                                           INTCTL1			.EQU                1
                                           INTCTL0			.EQU                0
                                           _INTCTL1		.EQU                1
                                           _INTCTL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	_Pmw1InitFun
                                           	.extern	_T0InitFun
                                           	.extern	__R2PCL
                                           	.extern	_TOUCH_DEBUG_TRS_DEAL
                                           	.extern	_TOUCH_DEBUG_TRS_BAIHUALV
                                           	.extern	_TOUCH_DEBUG_SEND_OUT
                                           	.extern	_delay_ms
                                           	.extern	_delay_us
                                           	.extern	__KF8spts2w_LIBf_init_touch_
                                           	.extern	__KF8spts2w_LIBf_touch_process_
                                           	.extern	__KF8spts2w_Lib_SET_MCU_Parameter
                                           	.extern	_read_data_eep_ts2w_
                                           	.extern	_write_eep_ts2w_
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_PCH_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_BANK_bits
                                           	.extern	_ADSCANCTL_bits
                                           	.extern	_VDACS_bits
                                           	.extern	_ANSEH_bits
                                           	.extern	_ADCCTL0_bits
                                           	.extern	_OPTR_bits
                                           	.extern	_IP0_bits
                                           	.extern	_IP1_bits
                                           	.extern	_IP2_bits
                                           	.extern	_TR0_bits
                                           	.extern	_TR2_bits
                                           	.extern	_TR1_bits
                                           	.extern	_OSCSTA_bits
                                           	.extern	_IP3_bits
                                           	.extern	_VRECTL_bits
                                           	.extern	_EIE1_bits
                                           	.extern	_EIE2_bits
                                           	.extern	_PCTL_bits
                                           	.extern	_OSCCTL_bits
                                           	.extern	_ANSEL_bits
                                           	.extern	_PUR0_bits
                                           	.extern	_IOCL_bits
                                           	.extern	_ADCCTL1_bits
                                           	.extern	_P0LR_bits
                                           	.extern	_P2LR_bits
                                           	.extern	_P1LR_bits
                                           	.extern	_EIE3_bits
                                           	.extern	_EIF3_bits
                                           	.extern	_T3CTL_bits
                                           	.extern	_CTCTL0_bits
                                           	.extern	_ADCINTCTL_bits
                                           	.extern	_PUR1_bits
                                           	.extern	_PUR2_bits
                                           	.extern	_CTCTL1_bits
                                           	.extern	_INTEDGCTL_bits
                                           	.extern	_VDAC_bits
                                           	.extern	_VRES_bits
                                           	.extern	_SSCICTL0_bits
                                           	.extern	_SSCICTL1_bits
                                           	.extern	_SSCISTA_bits
                                           	.extern	_SSCIADD_bits
                                           	.extern	_SSCIMSK_bits
                                           	.extern	_WDTPS_bits
                                           	.extern	_CTCTL2_bits
                                           	.extern	_T4CTL_bits
                                           	.extern	_sentbuf1
                                           	.extern	_sentbuf2
                                           	.extern	_sentbuf3
                                           	.extern	_sentbuf4
                                           	.extern	_Flag
                                           	.extern	_AlarmFlag
                                           	.extern	_CurrentAdjustNum
                                           	.extern	_KeyDownNum
                                           	.extern	_Time20MScnt
                                           	.extern	_V_NoWatercnt
                                           	.extern	_AdjustOvercnt
                                           	.extern	_NoWaterTimecnt
                                           	.extern	_main_cnt
                                           	.extern	_SubNum
                                           	.extern	_AD_temp_V
                                           	.extern	_AD_temp_I
                                           	.extern	_AD_V
                                           	.extern	_AD_I
                                           	.extern	_AD_cnt
                                           	.extern	_Power
                                           	.extern	_LEDFre
                                           	.extern	_CurrentShortCnt
                                           	.extern	_I_NoWatercnt
                                           	.extern	_cnt
                                           	.extern	_keycnt
                                           	.extern	_keycnttime
                                           	.extern	_Arr_erom_TS2W_
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWM1L
                                           	.extern	_PWMCTL
                                           	.extern	_PP1
                                           	.extern	_BANK
                                           	.extern	_ADSCANCTL
                                           	.extern	_VDACS
                                           	.extern	_ANSEH
                                           	.extern	_ADCDATA0H
                                           	.extern	_ADCCTL0
                                           	.extern	_OPTR
                                           	.extern	_IP0
                                           	.extern	_IP1
                                           	.extern	_IP2
                                           	.extern	_TR0
                                           	.extern	_TR2
                                           	.extern	_TR1
                                           	.extern	_OSCSTA
                                           	.extern	_IP3
                                           	.extern	_VRECAL1
                                           	.extern	_VRECTL
                                           	.extern	_EIE1
                                           	.extern	_EIE2
                                           	.extern	_PCTL
                                           	.extern	_OSCCTL
                                           	.extern	_OSCCAL0
                                           	.extern	_ANSEL
                                           	.extern	_PP2
                                           	.extern	_PWM2L
                                           	.extern	_PUR0
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_NVMDATAH
                                           	.extern	_NVMDATAL
                                           	.extern	_NVMADDRH
                                           	.extern	_NVMADDRL
                                           	.extern	_NVMCTL0
                                           	.extern	_NVMCTL1
                                           	.extern	_ADCDATA0L
                                           	.extern	_ADCCTL1
                                           	.extern	_P0LR
                                           	.extern	_P2LR
                                           	.extern	_P1LR
                                           	.extern	_EIE3
                                           	.extern	_EIF3
                                           	.extern	_OSCCAL2
                                           	.extern	_OSCCAL3
                                           	.extern	_T3CTL
                                           	.extern	_T3L
                                           	.extern	_ADCDATA1H
                                           	.extern	_ADCDATA1L
                                           	.extern	_CTCTL0
                                           	.extern	_ADCINTCTL
                                           	.extern	_ADCDATA2H
                                           	.extern	_ADCDATA2L
                                           	.extern	_ADCDATA3H
                                           	.extern	_T3H
                                           	.extern	_PUR1
                                           	.extern	_PUR2
                                           	.extern	_CTCTL1
                                           	.extern	_INTEDGCTL
                                           	.extern	_ADCDATA3L
                                           	.extern	_VDAC
                                           	.extern	_VRES
                                           	.extern	_SSCICTL0
                                           	.extern	_SSCICTL1
                                           	.extern	_SSCISTA
                                           	.extern	_SSCIBUFR
                                           	.extern	_SSCIADD
                                           	.extern	_SSCIMSK
                                           	.extern	_WDTPS
                                           	.extern	_VRECAL2
                                           	.extern	_VRECAL3
                                           	.extern	_CTCTL2
                                           	.extern	_T4L
                                           	.extern	_T4H
                                           	.extern	_T4REL
                                           	.extern	_T4REH
                                           	.extern	_T4CTL
                                           	.extern	_RC32KCAL
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.extern I1PSW
                                           	.extern I1PCH
                                           	.extern STK11
                                           	.extern STK10
                                           	.extern STK09
                                           	.extern STK08
                                           	.extern STK07
                                           	.extern STK06
                                           	.extern STK05
                                           	.extern STK04
                                           	.extern STK03
                                           	.extern STK02
                                           	.extern STK01
                                           	.extern STK00
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           	.global	__KF8_Disturb_Protect_Circle_
                                           	.global	__KF8_Up_BaseLine_Circle_
                                           	.global	__KF8_LIBc_channel_
                                           	.global	__KF8_LIBi_channel_flag_
                                           	.global	__KF8_LIBi_buff_hit_
                                           	.global	__KF8_LIBi_buff_baseline_
                                           	.global	__KF8_LIBi_buff_refline_
                                           	.global	__KF8_LIBc_touch_count_
                                           	.global	__KF8_LIBi_Date_Change_
                                           	.global	_CHS_AMOUNT
                                           	.global	_TCS_AMOUNT
                                           	.global	__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
                                           	.global	__KF8_Disturb_Protect_Circle_Define
                                           	.global	__KF8_Up_BaseLine_Circle_Define
                                           	.global	__KF8_TOUCH_CH_EN
                                           	.global	__KF8_Inside_Reference_Channel_Order
                                           	.global	__KF8_Config_Finger_Threshold
                                           	.global	_CONFIG_NO_FINGER_THRESHOLD
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           UD_kf8spts2w_lib_touch_0	.udata
                                           __KF8_Disturb_Protect_Circle_	.res	2
                                           
                                           UD_kf8spts2w_lib_touch_1	.udata
                                           __KF8_Up_BaseLine_Circle_	.res	2
                                           
                                           UD_kf8spts2w_lib_touch_2	.udata
                                           __KF8_LIBc_channel_	.res	1
                                           
                                           UD_kf8spts2w_lib_touch_3	.udata
                                           __KF8_LIBi_channel_flag_	.res	4
                                           
                                           UD_kf8spts2w_lib_touch_4	.udata
                                           __KF8_LIBi_buff_hit_	.res	4
                                           
                                           UD_kf8spts2w_lib_touch_5	.udata
                                           __KF8_LIBi_buff_baseline_	.res	4
                                           
                                           UD_kf8spts2w_lib_touch_6	.udata
                                           __KF8_LIBi_buff_refline_	.res	4
                                           
                                           UD_kf8spts2w_lib_touch_7	.udata
                                           __KF8_LIBc_touch_count_	.res	4
                                           
                                           UD_kf8spts2w_lib_touch_8	.udata
                                           __KF8_LIBi_Date_Change_	.res	4
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           
                                           ID_kf8spts2w_lib_touch_0	.code
                                           _CHS_AMOUNT
000c00   b002     RRET	R0, #0x2            	RRET R0, #0x02
                                           
                                           
                                           ID_kf8spts2w_lib_touch_1	.code
                                           _TCS_AMOUNT
000002   b014     RRET	R0, #0x14           	RRET R0, #0x14
000003   b000     RRET	R0, #0              	RRET R0, #0x00
                                           
                                           
                                           ID_kf8spts2w_lib_touch_2	.code
                                           __KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
000bf6   b00a     RRET	R0, #0xa            	RRET R0, #0x0a
000bf7   b000     RRET	R0, #0              	RRET R0, #0x00
                                           
                                           
                                           ID_kf8spts2w_lib_touch_3	.code
                                           __KF8_Disturb_Protect_Circle_Define
000bf8   b0c8     RRET	R0, #0xc8           	RRET R0, #0xc8
000bf9   b000     RRET	R0, #0              	RRET R0, #0x00
                                           
                                           
                                           ID_kf8spts2w_lib_touch_4	.code
                                           __KF8_Up_BaseLine_Circle_Define
000bfa   b064     RRET	R0, #0x64           	RRET R0, #0x64
000bfb   b000     RRET	R0, #0              	RRET R0, #0x00
                                           
                                           
                                           ID_kf8spts2w_lib_touch_5	.code
                                           __KF8_TOUCH_CH_EN
000bfc   b000     RRET	R0, #0              	RRET R0, #0x00
000bfd   b001     RRET	R0, #0x1            	RRET R0, #0x01
                                           
                                           
                                           ID_kf8spts2w_lib_touch_6	.code
                                           __KF8_Inside_Reference_Channel_Order
000c01   b001     RRET	R0, #0x1            	RRET R0, #0x01
                                           
                                           
                                           ID_kf8spts2w_lib_touch_7	.code
                                           __KF8_Config_Finger_Threshold
000be4   b08c     RRET	R0, #0x8c           	RRET R0, #0x8c
000be5   b000     RRET	R0, #0              	RRET R0, #0x00
000be6   b0c8     RRET	R0, #0xc8           	RRET R0, #0xc8
000be7   b000     RRET	R0, #0              	RRET R0, #0x00
                                           
                                           
                                           ID_kf8spts2w_lib_touch_8	.code
                                           _CONFIG_NO_FINGER_THRESHOLD
000be8   b078     RRET	R0, #0x78           	RRET R0, #0x78
000be9   b000     RRET	R0, #0              	RRET R0, #0x00
000bea   b0c8     RRET	R0, #0xc8           	RRET R0, #0xc8
000beb   b000     RRET	R0, #0              	RRET R0, #0x00
                                           
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           ;	code size estimation:
                                           ;	    0+    0 =     0 instructions (    0 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Tue Apr 03 20:31:53 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../kf8spts2w_lib_touch_lib.c"
                                           	.radix dec
                                           	.include "KF8TS2508.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           ADSCANCTL		.EQU                 0x18
                                           VDACS			.EQU                 0x1A
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           ADCDATA1H		.EQU                 0x50
                                           ADCDATA1L		.EQU                 0x51
                                           CTCTL0			.EQU                 0x53
                                           ADCINTCTL		.EQU                 0x58
                                           ADCDATA2H		.EQU                 0x59
                                           ADCDATA2L		.EQU                 0x5A
                                           ADCDATA3H		.EQU                 0x5E
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  18H  ADSCANCTL   Bits-------------------------------------
                                           ADSCANEN		.EQU                7
                                           SMOD1			.EQU                6
                                           SMOD0			.EQU                5
                                           STIM4			.EQU                4
                                           STIM3			.EQU                3
                                           STIM2			.EQU                2
                                           STIM1			.EQU                1
                                           STIM0			.EQU                0
                                           _ADSCANEN		.EQU                7
                                           _SMOD1			.EQU                6
                                           _SMOD0			.EQU                5
                                           _STIM4			.EQU                4
                                           _STIM3			.EQU                3
                                           _STIM2			.EQU                2
                                           _STIM1			.EQU                1
                                           _STIM0			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  58H  ADCINTCTL   Bits-------------------------------------
                                           INTCTL1			.EQU                1
                                           INTCTL0			.EQU                0
                                           _INTCTL1		.EQU                1
                                           _INTCTL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	_Pmw1InitFun
                                           	.extern	_T0InitFun
                                           	.extern	__R2PCL
                                           	.extern	_TOUCH_DEBUG_TRS_DEAL
                                           	.extern	_TOUCH_DEBUG_TRS_BAIHUALV
                                           	.extern	_TOUCH_DEBUG_SEND_OUT
                                           	.extern	_delay_ms
                                           	.extern	_delay_us
                                           	.extern	__mulint
                                           	.extern	__divuint
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_PCH_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_BANK_bits
                                           	.extern	_ADSCANCTL_bits
                                           	.extern	_VDACS_bits
                                           	.extern	_ANSEH_bits
                                           	.extern	_ADCCTL0_bits
                                           	.extern	_OPTR_bits
                                           	.extern	_IP0_bits
                                           	.extern	_IP1_bits
                                           	.extern	_IP2_bits
                                           	.extern	_TR0_bits
                                           	.extern	_TR2_bits
                                           	.extern	_TR1_bits
                                           	.extern	_OSCSTA_bits
                                           	.extern	_IP3_bits
                                           	.extern	_VRECTL_bits
                                           	.extern	_EIE1_bits
                                           	.extern	_EIE2_bits
                                           	.extern	_PCTL_bits
                                           	.extern	_OSCCTL_bits
                                           	.extern	_ANSEL_bits
                                           	.extern	_PUR0_bits
                                           	.extern	_IOCL_bits
                                           	.extern	_ADCCTL1_bits
                                           	.extern	_P0LR_bits
                                           	.extern	_P2LR_bits
                                           	.extern	_P1LR_bits
                                           	.extern	_EIE3_bits
                                           	.extern	_EIF3_bits
                                           	.extern	_T3CTL_bits
                                           	.extern	_CTCTL0_bits
                                           	.extern	_ADCINTCTL_bits
                                           	.extern	_PUR1_bits
                                           	.extern	_PUR2_bits
                                           	.extern	_CTCTL1_bits
                                           	.extern	_INTEDGCTL_bits
                                           	.extern	_VDAC_bits
                                           	.extern	_VRES_bits
                                           	.extern	_SSCICTL0_bits
                                           	.extern	_SSCICTL1_bits
                                           	.extern	_SSCISTA_bits
                                           	.extern	_SSCIADD_bits
                                           	.extern	_SSCIMSK_bits
                                           	.extern	_WDTPS_bits
                                           	.extern	_CTCTL2_bits
                                           	.extern	_T4CTL_bits
                                           	.extern	_sentbuf1
                                           	.extern	_sentbuf2
                                           	.extern	_sentbuf3
                                           	.extern	_sentbuf4
                                           	.extern	_Flag
                                           	.extern	_AlarmFlag
                                           	.extern	_CurrentAdjustNum
                                           	.extern	_KeyDownNum
                                           	.extern	_Time20MScnt
                                           	.extern	_V_NoWatercnt
                                           	.extern	_AdjustOvercnt
                                           	.extern	_NoWaterTimecnt
                                           	.extern	_main_cnt
                                           	.extern	_SubNum
                                           	.extern	_AD_temp_V
                                           	.extern	_AD_temp_I
                                           	.extern	_AD_V
                                           	.extern	_AD_I
                                           	.extern	_AD_cnt
                                           	.extern	_Power
                                           	.extern	_LEDFre
                                           	.extern	_CurrentShortCnt
                                           	.extern	_I_NoWatercnt
                                           	.extern	_cnt
                                           	.extern	_keycnt
                                           	.extern	_keycnttime
                                           	.extern	__KF8_Disturb_Protect_Circle_
                                           	.extern	__KF8_Up_BaseLine_Circle_
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBi_Date_Change_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBi_buff_hit_
                                           	.extern	__KF8_LIBi_buff_baseline_
                                           	.extern	__KF8_LIBi_buff_refline_
                                           	.extern	__KF8_LIBc_touch_count_
                                           	.extern	_CHS_AMOUNT
                                           	.extern	_TCS_AMOUNT
                                           	.extern	__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
                                           	.extern	__KF8_Disturb_Protect_Circle_Define
                                           	.extern	__KF8_Up_BaseLine_Circle_Define
                                           	.extern	__KF8_Inside_Reference_Channel_Order
                                           	.extern	__KF8_Config_Finger_Threshold
                                           	.extern	_CONFIG_NO_FINGER_THRESHOLD
                                           	.extern	__KF8_TOUCH_CH_EN
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWM1L
                                           	.extern	_PWMCTL
                                           	.extern	_PP1
                                           	.extern	_BANK
                                           	.extern	_ADSCANCTL
                                           	.extern	_VDACS
                                           	.extern	_ANSEH
                                           	.extern	_ADCDATA0H
                                           	.extern	_ADCCTL0
                                           	.extern	_OPTR
                                           	.extern	_IP0
                                           	.extern	_IP1
                                           	.extern	_IP2
                                           	.extern	_TR0
                                           	.extern	_TR2
                                           	.extern	_TR1
                                           	.extern	_OSCSTA
                                           	.extern	_IP3
                                           	.extern	_VRECAL1
                                           	.extern	_VRECTL
                                           	.extern	_EIE1
                                           	.extern	_EIE2
                                           	.extern	_PCTL
                                           	.extern	_OSCCTL
                                           	.extern	_OSCCAL0
                                           	.extern	_ANSEL
                                           	.extern	_PP2
                                           	.extern	_PWM2L
                                           	.extern	_PUR0
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_NVMDATAH
                                           	.extern	_NVMDATAL
                                           	.extern	_NVMADDRH
                                           	.extern	_NVMADDRL
                                           	.extern	_NVMCTL0
                                           	.extern	_NVMCTL1
                                           	.extern	_ADCDATA0L
                                           	.extern	_ADCCTL1
                                           	.extern	_P0LR
                                           	.extern	_P2LR
                                           	.extern	_P1LR
                                           	.extern	_EIE3
                                           	.extern	_EIF3
                                           	.extern	_OSCCAL2
                                           	.extern	_OSCCAL3
                                           	.extern	_T3CTL
                                           	.extern	_T3L
                                           	.extern	_ADCDATA1H
                                           	.extern	_ADCDATA1L
                                           	.extern	_CTCTL0
                                           	.extern	_ADCINTCTL
                                           	.extern	_ADCDATA2H
                                           	.extern	_ADCDATA2L
                                           	.extern	_ADCDATA3H
                                           	.extern	_T3H
                                           	.extern	_PUR1
                                           	.extern	_PUR2
                                           	.extern	_CTCTL1
                                           	.extern	_INTEDGCTL
                                           	.extern	_ADCDATA3L
                                           	.extern	_VDAC
                                           	.extern	_VRES
                                           	.extern	_SSCICTL0
                                           	.extern	_SSCICTL1
                                           	.extern	_SSCISTA
                                           	.extern	_SSCIBUFR
                                           	.extern	_SSCIADD
                                           	.extern	_SSCIMSK
                                           	.extern	_WDTPS
                                           	.extern	_VRECAL2
                                           	.extern	_VRECAL3
                                           	.extern	_CTCTL2
                                           	.extern	_T4L
                                           	.extern	_T4H
                                           	.extern	_T4REL
                                           	.extern	_T4REH
                                           	.extern	_T4CTL
                                           	.extern	_RC32KCAL
                                           
                                           	.extern I0R1
                                           	.extern I0R7
                                           	.extern I0PSW
                                           	.extern I0PCH
                                           	.extern I1R1
                                           	.extern I1R7
                                           	.extern I1PSW
                                           	.extern I1PCH
                                           	.extern STK11
                                           	.extern STK10
                                           	.extern STK09
                                           	.extern STK08
                                           	.extern STK07
                                           	.extern STK06
                                           	.extern STK05
                                           	.extern STK04
                                           	.extern STK03
                                           	.extern STK02
                                           	.extern STK01
                                           	.extern STK00
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           	.global	__KF8spts2w_LIBf_touch_process_
                                           	.global	__KF8spts2w_LIBf_init_touch_
                                           	.global	__KF8spts2w_Lib_SET_MCU_Parameter
                                           	.global	_write_eep_ts2w_
                                           	.global	_read_data_eep_ts2w_
                                           	.global	__KF8spts2w_Lib_BaseLine_Reget_
                                           	.global	__KF8spts2w_Lib_DateChange_get_
                                           	.global	__KF8spts2w_LIBf_scan_channel_
                                           	.global	__KF8spts2w_Get_Ver_WaterLevel_
                                           	.global	__KF8_lib_bahualvtemportemp_TS2W_
                                           	.global	_ii_buf_TS2W_
                                           	.global	_Date_Save_Buf_TS2W_
                                           	.global	__KF8_lib_Date_Uchar_Temp_TS2W_
                                           	.global	__KF8_LIBi_Touch_New_Date_TS2W_
                                           	.global	_change_buf_TS2W_
                                           	.global	__KF8_Temp_Cur_A_TS2W_
                                           	.global	__KF8_Temp_Cur_B_TS2W_
                                           	.global	_eeprom_data_TS2W_
                                           	.global	_Arr_erom_TS2W_
                                           	.global	_Arr_erom_TS2W_Check
                                           	.global	_oscctlbuf_TS2W_
                                           	.global	_intctlbuf_TS2W_
                                           	.global	__KF8_LIBt_buff_bit_TS2W_
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           UD_kf8spts2w_lib_touch_lib_0	.udata
                                           __KF8_Touch_Bits_	.res	1
                                           
                                           UD_kf8spts2w_lib_touch_lib_1	.udata
                                           __KF8_lib_bahualvtemportemp_TS2W_	.res	2
                                           
                                           UD_kf8spts2w_lib_touch_lib_2	.udata
                                           _ii_buf_TS2W_	.res	1
                                           
                                           UD_kf8spts2w_lib_touch_lib_3	.udata
                                           _Date_Save_Buf_TS2W_	.res	1
                                           
                                           UD_kf8spts2w_lib_touch_lib_4	.udata
                                           __KF8_lib_Date_Uchar_Temp_TS2W_	.res	1
                                           
                                           UD_kf8spts2w_lib_touch_lib_5	.udata
                                           __KF8_LIBi_Touch_New_Date_TS2W_	.res	2
                                           
                                           UD_kf8spts2w_lib_touch_lib_6	.udata
                                           _change_buf_TS2W_	.res	2
                                           
                                           UD_kf8spts2w_lib_touch_lib_7	.udata
                                           __KF8_Temp_Cur_A_TS2W_	.res	2
                                           
                                           UD_kf8spts2w_lib_touch_lib_8	.udata
                                           __KF8_Temp_Cur_B_TS2W_	.res	2
                                           
                                           UD_kf8spts2w_lib_touch_lib_9	.udata
                                           _eeprom_data_TS2W_	.res	2
                                           
                                           UD_kf8spts2w_lib_touch_lib_10	.udata
                                           _Arr_erom_TS2W_	.res	32
                                           
                                           UD_kf8spts2w_lib_touch_lib_11	.udata
                                           _Arr_erom_TS2W_Check	.res	32
                                           
                                           UD_kf8spts2w_lib_touch_lib_12	.udata
                                           _oscctlbuf_TS2W_	.res	1
                                           
                                           UD_kf8spts2w_lib_touch_lib_13	.udata
                                           _intctlbuf_TS2W_	.res	1
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           UDL_kf8spts2w_lib_touch_lib_0	.udata
                                           r0x1017	.res	1
                                           UDL_kf8spts2w_lib_touch_lib_1	.udata
                                           r0x1018	.res	1
                                           UDL_kf8spts2w_lib_touch_lib_2	.udata
                                           r0x101A	.res	1
                                           UDL_kf8spts2w_lib_touch_lib_3	.udata
                                           r0x1019	.res	1
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           
                                           ID_kf8spts2w_lib_touch_lib_0	.code
                                           __KF8_LIBt_buff_bit_TS2W_
0008d3   b001     RRET	R0, #0x1            	RRET R0, #0x01
0008d4   b000     RRET	R0, #0              	RRET R0, #0x00
0008d5   b000     RRET	R0, #0              	RRET R0, #0x00
0008d6   b000     RRET	R0, #0              	RRET R0, #0x00
0008d7   b002     RRET	R0, #0x2            	RRET R0, #0x02
0008d8   b000     RRET	R0, #0              	RRET R0, #0x00
0008d9   b000     RRET	R0, #0              	RRET R0, #0x00
0008da   b000     RRET	R0, #0              	RRET R0, #0x00
0008db   b004     RRET	R0, #0x4            	RRET R0, #0x04
0008dc   b000     RRET	R0, #0              	RRET R0, #0x00
0008dd   b000     RRET	R0, #0              	RRET R0, #0x00
0008de   b000     RRET	R0, #0              	RRET R0, #0x00
0008df   b008     RRET	R0, #0x8            	RRET R0, #0x08
0008e0   b000     RRET	R0, #0              	RRET R0, #0x00
0008e1   b000     RRET	R0, #0              	RRET R0, #0x00
0008e2   b000     RRET	R0, #0              	RRET R0, #0x00
0008e3   b010     RRET	R0, #0x10           	RRET R0, #0x10
0008e4   b000     RRET	R0, #0              	RRET R0, #0x00
0008e5   b000     RRET	R0, #0              	RRET R0, #0x00
0008e6   b000     RRET	R0, #0              	RRET R0, #0x00
0008e7   b020     RRET	R0, #0x20           	RRET R0, #0x20
0008e8   b000     RRET	R0, #0              	RRET R0, #0x00
0008e9   b000     RRET	R0, #0              	RRET R0, #0x00
0008ea   b000     RRET	R0, #0              	RRET R0, #0x00
0008eb   b040     RRET	R0, #0x40           	RRET R0, #0x40
0008ec   b000     RRET	R0, #0              	RRET R0, #0x00
0008ed   b000     RRET	R0, #0              	RRET R0, #0x00
0008ee   b000     RRET	R0, #0              	RRET R0, #0x00
0008ef   b080     RRET	R0, #0x80           	RRET R0, #0x80
0008f0   b000     RRET	R0, #0              	RRET R0, #0x00
0008f1   b000     RRET	R0, #0              	RRET R0, #0x00
0008f2   b000     RRET	R0, #0              	RRET R0, #0x00
0008f3   b000     RRET	R0, #0              	RRET R0, #0x00
0008f4   b001     RRET	R0, #0x1            	RRET R0, #0x01
0008f5   b000     RRET	R0, #0              	RRET R0, #0x00
0008f6   b000     RRET	R0, #0              	RRET R0, #0x00
0008f7   b000     RRET	R0, #0              	RRET R0, #0x00
0008f8   b002     RRET	R0, #0x2            	RRET R0, #0x02
0008f9   b000     RRET	R0, #0              	RRET R0, #0x00
0008fa   b000     RRET	R0, #0              	RRET R0, #0x00
0008fb   b000     RRET	R0, #0              	RRET R0, #0x00
0008fc   b004     RRET	R0, #0x4            	RRET R0, #0x04
0008fd   b000     RRET	R0, #0              	RRET R0, #0x00
0008fe   b000     RRET	R0, #0              	RRET R0, #0x00
0008ff   b000     RRET	R0, #0              	RRET R0, #0x00
000900   b008     RRET	R0, #0x8            	RRET R0, #0x08
000901   b000     RRET	R0, #0              	RRET R0, #0x00
000902   b000     RRET	R0, #0              	RRET R0, #0x00
000903   b000     RRET	R0, #0              	RRET R0, #0x00
000904   b010     RRET	R0, #0x10           	RRET R0, #0x10
000905   b000     RRET	R0, #0              	RRET R0, #0x00
000906   b000     RRET	R0, #0              	RRET R0, #0x00
000907   b000     RRET	R0, #0              	RRET R0, #0x00
000908   b020     RRET	R0, #0x20           	RRET R0, #0x20
000909   b000     RRET	R0, #0              	RRET R0, #0x00
00090a   b000     RRET	R0, #0              	RRET R0, #0x00
00090b   b000     RRET	R0, #0              	RRET R0, #0x00
00090c   b040     RRET	R0, #0x40           	RRET R0, #0x40
00090d   b000     RRET	R0, #0              	RRET R0, #0x00
00090e   b000     RRET	R0, #0              	RRET R0, #0x00
00090f   b000     RRET	R0, #0              	RRET R0, #0x00
000910   b080     RRET	R0, #0x80           	RRET R0, #0x80
000911   b000     RRET	R0, #0              	RRET R0, #0x00
000912   b000     RRET	R0, #0              	RRET R0, #0x00
000913   b000     RRET	R0, #0              	RRET R0, #0x00
000914   b000     RRET	R0, #0              	RRET R0, #0x00
000915   b001     RRET	R0, #0x1            	RRET R0, #0x01
000916   b000     RRET	R0, #0              	RRET R0, #0x00
000917   b000     RRET	R0, #0              	RRET R0, #0x00
000918   b000     RRET	R0, #0              	RRET R0, #0x00
000919   b002     RRET	R0, #0x2            	RRET R0, #0x02
00091a   b000     RRET	R0, #0              	RRET R0, #0x00
00091b   b000     RRET	R0, #0              	RRET R0, #0x00
00091c   b000     RRET	R0, #0              	RRET R0, #0x00
00091d   b004     RRET	R0, #0x4            	RRET R0, #0x04
00091e   b000     RRET	R0, #0              	RRET R0, #0x00
00091f   b000     RRET	R0, #0              	RRET R0, #0x00
000920   b000     RRET	R0, #0              	RRET R0, #0x00
000921   b008     RRET	R0, #0x8            	RRET R0, #0x08
000922   b000     RRET	R0, #0              	RRET R0, #0x00
000923   b000     RRET	R0, #0              	RRET R0, #0x00
000924   b000     RRET	R0, #0              	RRET R0, #0x00
000925   b010     RRET	R0, #0x10           	RRET R0, #0x10
000926   b000     RRET	R0, #0              	RRET R0, #0x00
000927   b000     RRET	R0, #0              	RRET R0, #0x00
000928   b000     RRET	R0, #0              	RRET R0, #0x00
000929   b020     RRET	R0, #0x20           	RRET R0, #0x20
00092a   b000     RRET	R0, #0              	RRET R0, #0x00
                                           
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           
                                           
                                           func.__KF8spts2w_Get_Ver_WaterLevel_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8spts2w_Get_Ver_WaterLevel_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8spts2w_Get_Ver_WaterLevel_	;Function start
                                           ; 2 exit points
                                           ;	op : RETURN
                                           ;	.line	2603; "../kf8spts2w_lib_touch_lib.c"	return Ver_SP_TS2_W;
                                           	MOV	R0,# 0xf3
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           	CRET	
                                           ; exit point of __KF8spts2w_Get_Ver_WaterLevel_
                                           
                                           
                                           
                                           func.__KF8spts2w_LIBf_touch_process_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8spts2w_LIBf_touch_process_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _read_data_eep_ts2w_
                                           ;   _write_eep_ts2w_
                                           ;   __KF8spts2w_Lib_DateChange_get_
                                           ;   __KF8spts2w_Lib_BaseLine_Reget_
                                           ;   __KF8spts2w_LIBf_scan_channel_
                                           ;   _read_data_eep_ts2w_
                                           ;   _write_eep_ts2w_
                                           ;   __KF8spts2w_Lib_DateChange_get_
                                           ;   __KF8spts2w_Lib_BaseLine_Reget_
                                           ;   __KF8spts2w_LIBf_scan_channel_
                                           ;1 compiler assigned register :
                                           ;   r0x1019
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8spts2w_LIBf_touch_process_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
000468   e100     MOVB	0                   	BANKSEL __KF8_Touch_Bits_
000469   7caa     JB	0xaa, 4               	JB __KF8_Touch_Bits_,4 ;
00046a   c46e     JMP	#0x46e               	JMP GET_DATE_USE_T4
                                           	BANKSEL _T3H
00046b   525f     MOV	R1, 0x5f             	MOV R1,_T3H
                                           	BANKSEL _T3L
00046c   504f     MOV	R0, 0x4f             	MOV R0,T3L
00046d   c471     JMP	#0x471               	JMP GET_DATE_IN_VAR_END
                                           GET_DATE_USE_T4:
00046e   e101     MOVB	0x1                 	BANKSEL _T4H
00046f   5261     MOV	R1, 0x61             	MOV R1,_T4H
                                           	BANKSEL _T4L
000470   5060     MOV	R0, 0x60             	MOV R0,_T4L
                                           GET_DATE_IN_VAR_END:
000471   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000472   53c9     MOV	0xc9, R1             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R1
000473   51c8     MOV	0xc8, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R0
                                           	
                                           ;	op : INLINEASM
                                           	;;---------------------------------
                                           	;;==
000474   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
000475   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
000476   80ec     ADD	R0, #0xec            	ADD R0,#(__KF8_LIBi_buff_hit_+0)
                                           	BANKSEL _Date_Save_Buf_TS2W_
000477   51a8     MOV	0xa8, R0             	MOV _Date_Save_Buf_TS2W_,R0 ;
                                           	;;==
000478   9804     MOV	R0, #0x4             	MOV R0,#(4)
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000479   21c8     ADD	0xc8, R0             	ADD __KF8_LIBi_Touch_New_Date_TS2W_,R0
00047a   7003     JNB	0x3, 0               	JNB PSW,0
00047b   0bc9     INC	0xc9                 	INC __KF8_LIBi_Touch_New_Date_TS2W_+1
                                           	;;==;
00047c   9803     MOV	R0, #0x3             	MOV R0,#3
00047d   ff10     INC	R0                   	INC R0
00047e   c482     JMP	#0x482               	JMP IIR_Deal_NEXT_1
                                           IIR_Deal_DO_1:
00047f   6003     CLR	0x3, 0               	CLR PSW,0
000480   11c9     RRC	0xc9                 	RRC __KF8_LIBi_Touch_New_Date_TS2W_+1
000481   11c8     RRC	0xc8                 	RRC __KF8_LIBi_Touch_New_Date_TS2W_
                                           IIR_Deal_NEXT_1:
000482   ff58     DECJZ	R0                 	DECJZ R0
000483   c47f     JMP	#0x47f               	JMP IIR_Deal_DO_1
                                           	;;-----------------------------------
                                           	BANKSEL _Date_Save_Buf_TS2W_
000484   50a8     MOV	R0, 0xa8             	MOV R0, _Date_Save_Buf_TS2W_
                                           	BANKSEL __KF8_LIBi_buff_hit_
000485   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
000486   53c4     MOV	0xc4, R1             	MOV __KF8_Temp_Cur_A_TS2W_,R1
000487   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
000488   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
000489   53c5     MOV	0xc5, R1             	MOV __KF8_Temp_Cur_A_TS2W_+1,R1 ;
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
00048a   50c4     MOV	R0, 0xc4             	MOV R0,__KF8_Temp_Cur_A_TS2W_
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
00048b   51c2     MOV	0xc2, R0             	MOV __KF8_Temp_Cur_B_TS2W_,R0
00048c   53c3     MOV	0xc3, R1             	MOV __KF8_Temp_Cur_B_TS2W_+1,R1 ;
                                           	;;==
00048d   9804     MOV	R0, #0x4             	MOV R0,#(4)
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
00048e   21c2     ADD	0xc2, R0             	ADD __KF8_Temp_Cur_B_TS2W_,R0
00048f   7003     JNB	0x3, 0               	JNB PSW,0
000490   0bc3     INC	0xc3                 	INC __KF8_Temp_Cur_B_TS2W_+1
                                           	;;==;
000491   9803     MOV	R0, #0x3             	MOV R0,#3
000492   ff10     INC	R0                   	INC R0
000493   c497     JMP	#0x497               	JMP IIR_Deal_NEXT_2
                                           IIR_Deal_DO_2:
000494   6003     CLR	0x3, 0               	CLR PSW,0
000495   11c3     RRC	0xc3                 	RRC __KF8_Temp_Cur_B_TS2W_+1
000496   11c2     RRC	0xc2                 	RRC __KF8_Temp_Cur_B_TS2W_
                                           IIR_Deal_NEXT_2:
000497   ff58     DECJZ	R0                 	DECJZ R0
000498   c494     JMP	#0x494               	JMP IIR_Deal_DO_2 ;
000499   50c2     MOV	R0, 0xc2             	MOV R0,__KF8_Temp_Cur_B_TS2W_
00049a   52c3     MOV	R1, 0xc3             	MOV R1,__KF8_Temp_Cur_B_TS2W_+1
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
00049b   39c4     SUB	0xc4, R0             	SUB __KF8_Temp_Cur_A_TS2W_,R0
00049c   7803     JB	0x3, 0                	JB PSW,0
00049d   07c5     DEC	0xc5                 	DEC __KF8_Temp_Cur_A_TS2W_+1
00049e   3bc5     SUB	0xc5, R1             	SUB __KF8_Temp_Cur_A_TS2W_+1,R1
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00049f   52c9     MOV	R1, 0xc9             	MOV R1,__KF8_LIBi_Touch_New_Date_TS2W_+1
0004a0   50c8     MOV	R0, 0xc8             	MOV R0,__KF8_LIBi_Touch_New_Date_TS2W_
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
0004a1   21c4     ADD	0xc4, R0             	ADD __KF8_Temp_Cur_A_TS2W_,R0
0004a2   7003     JNB	0x3, 0               	JNB PSW,0
0004a3   ff11     INC	R1                   	INC R1
0004a4   23c5     ADD	0xc5, R1             	ADD __KF8_Temp_Cur_A_TS2W_+1,R1 ;
0004a5   52c4     MOV	R1, 0xc4             	MOV R1,__KF8_Temp_Cur_A_TS2W_
                                           	BANKSEL _Date_Save_Buf_TS2W_
0004a6   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
                                           	BANKSEL __KF8_LIBi_buff_hit_
0004a7   f748     ST	[R0], R1              	ST[R0],R1
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
0004a8   52c5     MOV	R1, 0xc5             	MOV R1,__KF8_Temp_Cur_A_TS2W_+1
0004a9   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
0004aa   f748     ST	[R0], R1              	ST[R0],R1
                                           	;;-----------------------------------
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	2224; "../kf8spts2w_lib_touch_lib.c"	if(!_KF8_Touch_Bits_._KF8_Touch_Work_Flag)
                                           	BANKSEL	__KF8_Touch_Bits_
0004ab   70aa     JNB	0xaa, 0              	JNB	__KF8_Touch_Bits_, 0
0004ac   c546     JMP	#0x546               	JMP	_00074_DS_
                                           ;	op : INLINEASM
0004ad   98f0     MOV	R0, #0xf0            	MOV R0,#0xF0
0004ae   ff58     DECJZ	R0                 	DECJZ R0
0004af   c4ae     JMP	#0x4ae               	JMP $-1
                                           	
                                           ;	op : LEFT_OP
                                           ;	.line	2232; "../kf8spts2w_lib_touch_lib.c"	_KF8_LIBc_touch_count_[_KF8_LIBc_channel_]=0;	    // ϼ
0004b0   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	__KF8_LIBc_channel_
0004b1   12ab     RLCR	0xab                	RLCR	__KF8_LIBc_channel_
                                           	BANKSEL	r0x1019
0004b2   51a1     MOV	0xa1, R0             	MOV	r0x1019, R0
                                           ;	op : +
0004b3   98e0     MOV	R0, #0xe0            	MOV	R0,# (__KF8_LIBc_touch_count_ + 0)
                                           	BANKSEL	r0x1019
0004b4   21a1     ADD	0xa1, R0             	ADD	r0x1019, R0
                                           ;	op : =
0004b5   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x1019
0004b6   52a1     MOV	R1, 0xa1             	MOV	R1, r0x1019
                                           	BANKSEL	__KF8_LIBc_touch_count_
0004b7   f741     ST	[R1], R0              	ST	[R1], R0
0004b8   ff11     INC	R1                   	INC	R1
0004b9   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	__KF8_LIBc_touch_count_
0004ba   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : IFX
                                           ;	.line	2234; "../kf8spts2w_lib_touch_lib.c"	if(_KF8_LIBc_channel_==0)
0004bb   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	__KF8_LIBc_channel_
0004bc   30ab     ORL	R0, 0xab             	ORL	R0, __KF8_LIBc_channel_
0004bd   7a03     JB	0x3, 2                	JB	PSW, 2
0004be   c547     JMP	#0x547               	JMP	_00075_DS_
                                           ;	op : +
                                           ;	.line	2236; "../kf8spts2w_lib_touch_lib.c"	ii_buf_TS2W_++;
                                           	BANKSEL	_ii_buf_TS2W_
0004bf   0ba9     INC	0xa9                 	INC	_ii_buf_TS2W_
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/3)
                                           ;unsigned compare: left >= lit(0x79=121), size=1
                                           ;	.line	2237; "../kf8spts2w_lib_touch_lib.c"	if(ii_buf_TS2W_>120) //ÿɨ1ȦһΣnȦ빤״̬
0004c0   9879     MOV	R0, #0x79            	MOV	R0,# 0x79
                                           	BANKSEL	_ii_buf_TS2W_
0004c1   38a9     SUB	R0, 0xa9             	SUB	R0, _ii_buf_TS2W_
                                           ;comparing bytes at offset 0
0004c2   7803     JB	0x3, 0                	JB	PSW, 0
0004c3   c547     JMP	#0x547               	JMP	_00075_DS_
                                           ;	op : =
                                           ;	.line	2239; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Work_Flag=1;  //빤״̬
                                           	BANKSEL	__KF8_Touch_Bits_
0004c4   68aa     SET	0xaa, 0              	SET	__KF8_Touch_Bits_, 0
                                           ;	op : CALL
                                           ;	.line	2240; "../kf8spts2w_lib_touch_lib.c"	read_data_eep_ts2w_();
                                           	PAGESEL	_read_data_eep_ts2w_
0004c5   d9f8     CALL	#0x9f8              	CALL	_read_data_eep_ts2w_
                                           	PAGESEL	$
                                           ;	op : INLINEASM
0004c6   e100     MOVB	0                   	BANKSEL _ii_buf_TS2W_
0004c7   03a9     CLR	0xa9                 	CLR _ii_buf_TS2W_
                                           FOR_NEXT_DO_1:
0004c8   990c     MOV	R1, #0xc             	MOV R1,# high (_CHS_AMOUNT+0)
0004c9   9800     MOV	R0, #0               	MOV R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
0004ca   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0004cb   e100     MOVB	0                   	BANKSEL _ii_buf_TS2W_
0004cc   52a9     MOV	R1, 0xa9             	MOV R1,_ii_buf_TS2W_
0004cd   f848     SUB	R0, R1               	SUB R0,R1 ;
0004ce   7003     JNB	0x3, 0               	JNB PSW,0 ;
0004cf   c4ef     JMP	#0x4ef               	JMP FOR_NEXT_DO_1_End
                                           	;
0004d0   6003     CLR	0x3, 0               	CLR PSW,0
0004d1   ff19     RLC	R1                   	RLC R1 ;
0004d2   81cb     ADD	R1, #0xcb            	ADD R1,#(_Arr_erom_TS2W_+1)
0004d3   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_
0004d4   f708     LD	R0, [R1]              	LD R0,[R1]
0004d5   e100     MOVB	0                   	BANKSEL _eeprom_data_TS2W_
0004d6   51c1     MOV	0xc1, R0             	MOV (_eeprom_data_TS2W_+1),R0
0004d7   ff09     DEC	R1                   	DEC R1
0004d8   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_
0004d9   f708     LD	R0, [R1]              	LD R0,[R1]
0004da   e100     MOVB	0                   	BANKSEL _eeprom_data_TS2W_
0004db   51c0     MOV	0xc0, R0             	MOV (_eeprom_data_TS2W_),R0 ;
                                           	;;--------------------
                                           	BANKSEL _ii_buf_TS2W_
0004dc   52a9     MOV	R1, 0xa9             	MOV R1,_ii_buf_TS2W_
0004dd   6003     CLR	0x3, 0               	CLR PSW,0
0004de   ff19     RLC	R1                   	RLC R1 ;
0004df   81e4     ADD	R1, #0xe4            	ADD R1,#__KF8_LIBi_buff_refline_
                                           	BANKSEL _eeprom_data_TS2W_
0004e0   50c0     MOV	R0, 0xc0             	MOV R0,_eeprom_data_TS2W_
                                           	BANKSEL __KF8_LIBi_buff_refline_
0004e1   f741     ST	[R1], R0              	ST [R1],R0
                                           	BANKSEL _eeprom_data_TS2W_
0004e2   50c1     MOV	R0, 0xc1             	MOV R0,_eeprom_data_TS2W_+1
0004e3   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_LIBi_buff_refline_
0004e4   f741     ST	[R1], R0              	ST [R1],R0 ;
                                           	;;------------------
                                           	BANKSEL _eeprom_data_TS2W_
0004e5   52c0     MOV	R1, 0xc0             	MOV R1,_eeprom_data_TS2W_
0004e6   50c1     MOV	R0, 0xc1             	MOV R0,_eeprom_data_TS2W_+1
0004e7   f888     AND	R0, R1               	AND R0,R1
0004e8   99ff     MOV	R1, #0xff            	MOV R1,#0xFF
0004e9   f948     XOR	R0, R1               	XOR R0,R1
0004ea   7a03     JB	0x3, 2                	JB PSW,2 ;
0004eb   c4ed     JMP	#0x4ed               	JMP FOR_DO_1_End
                                           	BANKSEL __KF8_Touch_Bits_
0004ec   6baa     SET	0xaa, 3              	SET __KF8_Touch_Bits_,3 ;
                                           	;
                                           FOR_DO_1_End:
                                           	BANKSEL _ii_buf_TS2W_
0004ed   0ba9     INC	0xa9                 	INC _ii_buf_TS2W_
0004ee   c4c8     JMP	#0x4c8               	JMP FOR_NEXT_DO_1
                                           FOR_NEXT_DO_1_End:
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	2321; "../kf8spts2w_lib_touch_lib.c"	if(_KF8_Touch_Bits_._KF8_Touch_Need_Save_Flag)
                                           	BANKSEL	__KF8_Touch_Bits_
0004ef   7baa     JB	0xaa, 3               	JB	__KF8_Touch_Bits_, 3
0004f0   c528     JMP	#0x528               	JMP	_00067_DS_
                                           ;	op : INLINEASM
                                           	BANKSEL _ii_buf_TS2W_
0004f1   03a9     CLR	0xa9                 	CLR _ii_buf_TS2W_
                                           FOR_NEXT_DO_2:
0004f2   990c     MOV	R1, #0xc             	MOV R1,# high (_CHS_AMOUNT+0)
0004f3   9800     MOV	R0, #0               	MOV R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
0004f4   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0004f5   e100     MOVB	0                   	BANKSEL _ii_buf_TS2W_
0004f6   52a9     MOV	R1, 0xa9             	MOV R1,_ii_buf_TS2W_
0004f7   f848     SUB	R0, R1               	SUB R0,R1 ;
0004f8   7003     JNB	0x3, 0               	JNB PSW,0 ;
0004f9   c526     JMP	#0x526               	JMP FOR_NEXT_DO_2_End
                                           	;;
0004fa   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL _ii_buf_TS2W_
0004fb   12a9     RLCR	0xa9                	RLCR _ii_buf_TS2W_
                                           	BANKSEL _Date_Save_Buf_TS2W_
0004fc   51a8     MOV	0xa8, R0             	MOV _Date_Save_Buf_TS2W_,R0 ;
0004fd   80ec     ADD	R0, #0xec            	ADD R0,#(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
0004fe   f701     LD	R1, [R0]              	LD R1,[R0];;
                                           	BANKSEL _Date_Save_Buf_TS2W_
0004ff   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000500   80ca     ADD	R0, #0xca            	ADD R0,#(_Arr_erom_TS2W_+0)
000501   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_
000502   f748     ST	[R0], R1              	ST [R0],R1;;
000503   e100     MOVB	0                   	BANKSEL _Date_Save_Buf_TS2W_
000504   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000505   80ed     ADD	R0, #0xed            	ADD R0,#(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000506   f701     LD	R1, [R0]              	LD R1,[R0];;
                                           	BANKSEL _Date_Save_Buf_TS2W_
000507   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000508   80cb     ADD	R0, #0xcb            	ADD R0,#(_Arr_erom_TS2W_+1)
000509   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_
00050a   f748     ST	[R0], R1              	ST [R0],R1;;
                                           	;;------------------------------------
00050b   e100     MOVB	0                   	BANKSEL _Date_Save_Buf_TS2W_
00050c   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_ ;
00050d   80ec     ADD	R0, #0xec            	ADD R0,#(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
00050e   f701     LD	R1, [R0]              	LD R1,[R0];;
                                           	BANKSEL _Date_Save_Buf_TS2W_
00050f   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000510   80e8     ADD	R0, #0xe8            	ADD R0,#(__KF8_LIBi_buff_baseline_+0)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000511   f748     ST	[R0], R1              	ST [R0],R1;;
                                           	BANKSEL _Date_Save_Buf_TS2W_
000512   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000513   80ed     ADD	R0, #0xed            	ADD R0,#(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000514   f701     LD	R1, [R0]              	LD R1,[R0];;
                                           	BANKSEL _Date_Save_Buf_TS2W_
000515   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000516   80e9     ADD	R0, #0xe9            	ADD R0,#(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000517   f748     ST	[R0], R1              	ST [R0],R1;;
                                           	;;
                                           	;;------------------------------------
                                           	BANKSEL _Date_Save_Buf_TS2W_
000518   50a8     MOV	R0, 0xa8             	MOV R0, _Date_Save_Buf_TS2W_ ;
000519   80ec     ADD	R0, #0xec            	ADD R0,#(__KF8_LIBi_buff_hit_)
                                           	BANKSEL __KF8_LIBi_buff_hit_
00051a   f701     LD	R1, [R0]              	LD R1,[R0];;
                                           	BANKSEL _Date_Save_Buf_TS2W_
00051b   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
00051c   80e4     ADD	R0, #0xe4            	ADD R0,#(__KF8_LIBi_buff_refline_+0)
                                           	BANKSEL __KF8_LIBi_buff_refline_
00051d   f748     ST	[R0], R1              	ST [R0],R1;;
                                           	BANKSEL _Date_Save_Buf_TS2W_
00051e   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
00051f   80ed     ADD	R0, #0xed            	ADD R0,#(__KF8_LIBi_buff_hit_+1)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000520   f701     LD	R1, [R0]              	LD R1,[R0];;
                                           	BANKSEL _Date_Save_Buf_TS2W_
000521   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000522   80e5     ADD	R0, #0xe5            	ADD R0,#(__KF8_LIBi_buff_refline_+1)
                                           	BANKSEL __KF8_LIBi_buff_refline_
000523   f748     ST	[R0], R1              	ST [R0],R1;;
                                           	;;
                                           	;;
                                           	BANKSEL _ii_buf_TS2W_
000524   0ba9     INC	0xa9                 	INC _ii_buf_TS2W_
000525   c4f2     JMP	#0x4f2               	JMP FOR_NEXT_DO_2
                                           FOR_NEXT_DO_2_End:
                                           	
                                           ;	op : CALL
                                           ;	.line	2427; "../kf8spts2w_lib_touch_lib.c"	write_eep_ts2w_(); // д׼չϵ
                                           	PAGESEL	_write_eep_ts2w_
000526   d92b     CALL	#0x92b              	CALL	_write_eep_ts2w_
                                           	PAGESEL	$
                                           ;	op : GOTO
000527   c547     JMP	#0x547               	JMP	_00075_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00067_DS_
000528   990c     MOV	R1, #0xc             	MOV R1,# high (__KF8_Inside_Reference_Channel_Order+0)
000529   9801     MOV	R0, #0x1             	MOV R0,# low (__KF8_Inside_Reference_Channel_Order+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
00052a   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00052b   6003     CLR	0x3, 0               	CLR PSW,0
00052c   ff18     RLC	R0                   	RLC R0
00052d   e100     MOVB	0                   	BANKSEL _Date_Save_Buf_TS2W_
00052e   51a8     MOV	0xa8, R0             	MOV _Date_Save_Buf_TS2W_,R0 ;;
                                           	;;-------------------------------
00052f   80ec     ADD	R0, #0xec            	ADD R0,#(__KF8_LIBi_buff_hit_+0)
                                           	BANKSEL __KF8_LIBi_buff_hit_
000530   f701     LD	R1, [R0]              	LD R1,[R0] ;;
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
000531   53c4     MOV	0xc4, R1             	MOV __KF8_Temp_Cur_A_TS2W_,R1
000532   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_hit_
000533   f701     LD	R1, [R0]              	LD R1,[R0] ;;
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
000534   53c5     MOV	0xc5, R1             	MOV (__KF8_Temp_Cur_A_TS2W_+1),R1 ;;
                                           	;;-----------------------------
                                           	BANKSEL _Date_Save_Buf_TS2W_
000535   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000536   80e4     ADD	R0, #0xe4            	ADD R0,#(__KF8_LIBi_buff_refline_+0)
                                           	BANKSEL __KF8_LIBi_buff_refline_
000537   f701     LD	R1, [R0]              	LD R1,[R0] ;;
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000538   53c2     MOV	0xc2, R1             	MOV __KF8_Temp_Cur_B_TS2W_,R1
000539   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_refline_
00053a   f701     LD	R1, [R0]              	LD R1,[R0] ;;
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
00053b   53c3     MOV	0xc3, R1             	MOV (__KF8_Temp_Cur_B_TS2W_+1),R1 ;;
                                           	;;-----------------------------
                                           	BANKSEL _Date_Save_Buf_TS2W_
00053c   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
00053d   80e8     ADD	R0, #0xe8            	ADD R0,#(__KF8_LIBi_buff_baseline_+0)
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
00053e   52c2     MOV	R1, 0xc2             	MOV R1,__KF8_Temp_Cur_B_TS2W_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00053f   f748     ST	[R0], R1              	ST [R0],R1;
000540   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000541   52c3     MOV	R1, 0xc3             	MOV R1,__KF8_Temp_Cur_B_TS2W_+1
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000542   f748     ST	[R0], R1              	ST [R0],R1;
                                           	
                                           ;	op : CALL
                                           ;	.line	2486; "../kf8spts2w_lib_touch_lib.c"	_KF8spts2w_Lib_DateChange_get_();
                                           	PAGESEL	__KF8spts2w_Lib_DateChange_get_
000543   d80b     CALL	#0x80b              	CALL	__KF8spts2w_Lib_DateChange_get_
                                           	PAGESEL	$
                                           ;	op : CALL
                                           ;	.line	2488; "../kf8spts2w_lib_touch_lib.c"	_KF8spts2w_Lib_BaseLine_Reget_();
                                           	PAGESEL	__KF8spts2w_Lib_BaseLine_Reget_
000544   d71e     CALL	#0x71e              	CALL	__KF8spts2w_Lib_BaseLine_Reget_
                                           	PAGESEL	$
                                           ;	op : GOTO
000545   c547     JMP	#0x547               	JMP	_00075_DS_
                                           ;	op : LABEL
                                           ;	op : CALL
                                           _00074_DS_
                                           ;	.line	2496; "../kf8spts2w_lib_touch_lib.c"	_KF8spts2w_LIBf_scan_channel_(); //ɨADͨ,仯ʣ仯ͳ
                                           	PAGESEL	__KF8spts2w_LIBf_scan_channel_
000546   d00f     CALL	#0xf                	CALL	__KF8spts2w_LIBf_scan_channel_
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00075_DS_
000547   990c     MOV	R1, #0xc             	MOV R1,# high (_CHS_AMOUNT+0)
000548   9800     MOV	R0, #0               	MOV R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000549   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00054a   e100     MOVB	0                   	BANKSEL __KF8_LIBc_channel_
00054b   0bab     INC	0xab                 	INC __KF8_LIBc_channel_
00054c   18ab     XOR	R0, 0xab             	XOR R0,__KF8_LIBc_channel_
00054d   7203     JNB	0x3, 2               	JNB PSW,2
00054e   03ab     CLR	0xab                 	CLR __KF8_LIBc_channel_
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	2523; "../kf8spts2w_lib_touch_lib.c"	if(_KF8_Touch_Bits_._KF8_Touch_Do_T3_SP)
                                           	BANKSEL	__KF8_Touch_Bits_
00054f   7daa     JB	0xaa, 5               	JB	__KF8_Touch_Bits_, 5
000550   c553     JMP	#0x553               	JMP	_00077_DS_
                                           ;	op : INLINEASM
                                           	MOVB #0x00
000551   6553     CLR	0x53, 5              	CLR 0x53,5
                                           	
                                           ;	op : GOTO
000552   c555     JMP	#0x555               	JMP	_00078_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00077_DS_
                                           ;	.line	2532; "../kf8spts2w_lib_touch_lib.c"	T3H=0;T3L=0;
                                           	BANKSEL	_T3H
000553   035f     CLR	0x5f                 	CLR	_T3H
                                           ;	op : =
                                           	BANKSEL	_T3L
000554   034f     CLR	0x4f                 	CLR	_T3L
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00078_DS_
                                           	BANKSEL __KF8_LIBc_channel_
000555   50ab     MOV	R0, 0xab             	MOV R0,__KF8_LIBc_channel_
000556   80fc     ADD	R0, #0xfc            	ADD R0, # low (__KF8_TOUCH_CH_EN+0)
000557   990b     MOV	R1, #0xb             	MOV R1, # high (__KF8_TOUCH_CH_EN+0)
000558   7003     JNB	0x3, 0               	JNB PSW,0
000559   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
00055a   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00055b   9080     ORL	R0, #0x80            	ORL R0,#0x80 ;;
00055c   e100     MOVB	0                   	BANKSEL _CTCTL0
00055d   5153     MOV	0x53, R0             	MOV _CTCTL0,R0
00055e   9801     MOV	R0, #0x1             	MOV R0,#0x01
00055f   ff58     DECJZ	R0                 	DECJZ R0
000560   c55f     JMP	#0x55f               	JMP $-1 ;
                                           	BANKSEL __KF8_Touch_Bits_
000561   74aa     JNB	0xaa, 4              	JNB __KF8_Touch_Bits_,4 ;
000562   c56b     JMP	#0x56b               	JMP SET_START_TC_DO
000563   e101     MOVB	0x1                 	BANKSEL _T4H
000564   0361     CLR	0x61                 	CLR _T4H
                                           	BANKSEL _T4L
000565   0360     CLR	0x60                 	CLR _T4L
000566   e100     MOVB	0                   	BANKSEL _INTCTL
000567   660b     CLR	0xb, 6               	CLR _INTCTL,6
000568   670b     CLR	0xb, 7               	CLR _INTCTL,7
000569   e101     MOVB	0x1                 	BANKSEL _T4CTL
00056a   6864     SET	0x64, 0              	SET _T4CTL,0
                                           SET_START_TC_DO:
00056b   e100     MOVB	0                   	BANKSEL __KF8_Touch_Bits_
00056c   7daa     JB	0xaa, 5               	JB __KF8_Touch_Bits_,5 ;
00056d   c571     JMP	#0x571               	JMP SET_START_TC_DO1
                                           	BANKSEL _INTCTL
00056e   660b     CLR	0xb, 6               	CLR _INTCTL,6
00056f   670b     CLR	0xb, 7               	CLR _INTCTL,7
                                           	MOVB #0x00
000570   6d53     SET	0x53, 5              	SET 0x53,5
                                           SET_START_TC_DO1:
                                           	BANKSEL _CTCTL0
000571   6e53     SET	0x53, 6              	SET CTCTL0,6 ;
000572   0000     NOP                      	NOP
000573   7e53     JB	0x53, 6               	JB _CTCTL0,6
000574   c571     JMP	#0x571               	JMP $-3
                                           	
                                           ;	op : =
                                           ;	.line	2592; "../kf8spts2w_lib_touch_lib.c"	T3IE=1; PUIE=1; AIE=1;	// ֤࣬ʩ
                                           	BANKSEL	_EIE2_bits
000575   6f2d     SET	0x2d, 7              	SET	_EIE2_bits, 7
                                           ;	op : =
                                           	BANKSEL	_INTCTL_bits
000576   6e0b     SET	0xb, 6               	SET	_INTCTL_bits, 6
                                           ;	op : =
                                           	BANKSEL	_INTCTL_bits
000577   6f0b     SET	0xb, 7               	SET	_INTCTL_bits, 7
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000578   0008     CRET                     	CRET	
                                           ; exit point of __KF8spts2w_LIBf_touch_process_
                                           
                                           
                                           
                                           func.__KF8spts2w_LIBf_scan_channel_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8spts2w_LIBf_scan_channel_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   __KF8spts2w_Lib_DateChange_get_
                                           ;   __KF8spts2w_Lib_BaseLine_Reget_
                                           ;   __KF8spts2w_Lib_DateChange_get_
                                           ;   __KF8spts2w_Lib_BaseLine_Reget_
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8spts2w_LIBf_scan_channel_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
00000f   6003     CLR	0x3, 0               	CLR PSW,0
000010   e100     MOVB	0                   	BANKSEL __KF8_LIBc_channel_
000011   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL _Date_Save_Buf_TS2W_
000012   51a8     MOV	0xa8, R0             	MOV _Date_Save_Buf_TS2W_,R0
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _Date_Save_Buf_TS2W_
000013   52a8     MOV	R1, 0xa8             	MOV R1,_Date_Save_Buf_TS2W_
000014   81ec     ADD	R1, #0xec            	ADD R1,#(__KF8_LIBi_buff_hit_+0)
                                           	;;;;
                                           	BANKSEL __KF8_LIBi_buff_hit_
000015   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
000016   51c4     MOV	0xc4, R0             	MOV __KF8_Temp_Cur_A_TS2W_, R0
                                           	;;;;
000017   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_LIBi_buff_hit_
000018   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
000019   51c5     MOV	0xc5, R0             	MOV (__KF8_Temp_Cur_A_TS2W_+1), R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL _Date_Save_Buf_TS2W_
00001a   52a8     MOV	R1, 0xa8             	MOV R1,_Date_Save_Buf_TS2W_
00001b   81e8     ADD	R1, #0xe8            	ADD R1,#(__KF8_LIBi_buff_baseline_+0)
                                           	;;;;
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00001c   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
00001d   51c2     MOV	0xc2, R0             	MOV __KF8_Temp_Cur_B_TS2W_, R0
                                           	;;;;
00001e   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00001f   f708     LD	R0, [R1]              	LD R0,[R1]
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000020   51c3     MOV	0xc3, R0             	MOV (__KF8_Temp_Cur_B_TS2W_+1), R0
                                           	
                                           ;	op : CALL
                                           ;	.line	1018; "../kf8spts2w_lib_touch_lib.c"	_KF8spts2w_Lib_DateChange_get_();
                                           	PAGESEL	__KF8spts2w_Lib_DateChange_get_
000021   d80b     CALL	#0x80b              	CALL	__KF8spts2w_Lib_DateChange_get_
                                           	PAGESEL	$
                                           ;	op : INLINEASM
000022   990c     MOV	R1, #0xc             	MOV R1,#high (__KF8_Inside_Reference_Channel_Order+0)
000023   9801     MOV	R0, #0x1             	MOV R0,#low (__KF8_Inside_Reference_Channel_Order+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000024   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000025   e100     MOVB	0                   	BANKSEL __KF8_LIBc_channel_
000026   52ab     MOV	R1, 0xab             	MOV R1,__KF8_LIBc_channel_
000027   f948     XOR	R0, R1               	XOR R0,R1
000028   7a03     JB	0x3, 2                	JB PSW,2
000029   c099     JMP	#0x99                	JMP NOT_Reference_Channel_Order_Deal_1
                                           	
                                           ;	op : INLINEASM
                                           Reference_Channel_Order_Deal_1:
                                           	
                                           ;	op : INLINEASM
00002a   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
00002b   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
00002c   80dc     ADD	R0, #0xdc            	ADD R0,#(__KF8_LIBi_Date_Change_+0)
                                           	;;;;
                                           	BANKSEL __KF8_LIBi_Date_Change_
00002d   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _change_buf_TS2W_
00002e   53c6     MOV	0xc6, R1             	MOV _change_buf_TS2W_,R1
00002f   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_Date_Change_
000030   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _change_buf_TS2W_
000031   53c7     MOV	0xc7, R1             	MOV _change_buf_TS2W_+1,R1
                                           	;;;;
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS2W_
000032   52ca     MOV	R1, 0xca             	MOV R1, __KF8_lib_bahualvtemportemp_TS2W_
                                           	BANKSEL _change_buf_TS2W_
000033   3bc6     SUB	0xc6, R1             	SUB _change_buf_TS2W_,R1
000034   7803     JB	0x3, 0                	JB PSW,0
000035   07c7     DEC	0xc7                 	DEC _change_buf_TS2W_+1
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS2W_
000036   52cb     MOV	R1, 0xcb             	MOV R1, __KF8_lib_bahualvtemportemp_TS2W_+1
                                           	BANKSEL _change_buf_TS2W_
000037   3bc7     SUB	0xc7, R1             	SUB _change_buf_TS2W_+1,R1 ;
                                           	;;-----------------------------
                                           	BANKSEL _change_buf_TS2W_
000038   7fc7     JB	0xc7, 7               	JB _change_buf_TS2W_+1, 7
000039   c03f     JMP	#0x3f                	JMP lable_qufanover
00003a   05c6     CPL	0xc6                 	CPL _change_buf_TS2W_
00003b   05c7     CPL	0xc7                 	CPL _change_buf_TS2W_+1
00003c   0bc6     INC	0xc6                 	INC _change_buf_TS2W_
00003d   7203     JNB	0x3, 2               	JNB PSW,2
00003e   0bc7     INC	0xc7                 	INC _change_buf_TS2W_+1
                                           lable_qufanover:
                                           	;
                                           	
                                           ;	op : INLINEASM
00003f   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
000040   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
000041   80dc     ADD	R0, #0xdc            	ADD R0,#(__KF8_LIBi_Date_Change_+0)
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS2W_
000042   52ca     MOV	R1, 0xca             	MOV R1,__KF8_lib_bahualvtemportemp_TS2W_
                                           	BANKSEL __KF8_LIBi_Date_Change_
000043   f748     ST	[R0], R1              	ST [R0],R1
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS2W_
000044   52cb     MOV	R1, 0xcb             	MOV R1,__KF8_lib_bahualvtemportemp_TS2W_+1
000045   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_Date_Change_
000046   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : INLINEASM
000047   990b     MOV	R1, #0xb             	MOV R1,# high (__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_+0)
000048   98f6     MOV	R0, #0xf6            	MOV R0,# low (__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000049   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00004a   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00004b   51c8     MOV	0xc8, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R0
00004c   990b     MOV	R1, #0xb             	MOV R1,#high(__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_+1)
00004d   98f7     MOV	R0, #0xf7            	MOV R0,#low(__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
00004e   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00004f   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000050   51c9     MOV	0xc9, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R0 ;
                                           	;;------------------------------
                                           	BANKSEL _change_buf_TS2W_
000051   50c7     MOV	R0, 0xc7             	MOV R0,_change_buf_TS2W_+1
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000052   38c9     SUB	R0, 0xc9             	SUB R0,__KF8_LIBi_Touch_New_Date_TS2W_+1
000053   7803     JB	0x3, 0                	JB PSW,0 ;
000054   c05b     JMP	#0x5b                	JMP DATE_CHANGE_BIG_FLG_DO_1
000055   7a03     JB	0x3, 2                	JB PSW, 2 ;
000056   c061     JMP	#0x61                	JMP NOT_DATE_CHANGE_BIG_FLG_DO_1
                                           	BANKSEL _change_buf_TS2W_
000057   50c6     MOV	R0, 0xc6             	MOV R0,_change_buf_TS2W_
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000058   38c8     SUB	R0, 0xc8             	SUB R0,__KF8_LIBi_Touch_New_Date_TS2W_
000059   7003     JNB	0x3, 0               	JNB PSW,0
00005a   c061     JMP	#0x61                	JMP NOT_DATE_CHANGE_BIG_FLG_DO_1
                                           	
                                           ;	op : INLINEASM
                                           DATE_CHANGE_BIG_FLG_DO_1:
                                           	
                                           ;	op : =
                                           ;	.line	1143; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Protect_Flag=1;
                                           	BANKSEL	__KF8_Touch_Bits_
00005b   69aa     SET	0xaa, 1              	SET	__KF8_Touch_Bits_, 1
                                           ;	op : =
                                           ;	.line	1144; "../kf8spts2w_lib_touch_lib.c"	_KF8_Disturb_Protect_Circle_=0;
                                           	BANKSEL	__KF8_Disturb_Protect_Circle_
00005c   03ce     CLR	0xce                 	CLR	__KF8_Disturb_Protect_Circle_
                                           	BANKSEL	__KF8_Disturb_Protect_Circle_
00005d   03cf     CLR	0xcf                 	CLR	(__KF8_Disturb_Protect_Circle_ + 1)
                                           ;	op : =
                                           ;	.line	1145; "../kf8spts2w_lib_touch_lib.c"	_KF8_Up_BaseLine_Circle_=0;
                                           	BANKSEL	__KF8_Up_BaseLine_Circle_
00005e   03cc     CLR	0xcc                 	CLR	__KF8_Up_BaseLine_Circle_
                                           	BANKSEL	__KF8_Up_BaseLine_Circle_
00005f   03cd     CLR	0xcd                 	CLR	(__KF8_Up_BaseLine_Circle_ + 1)
                                           ;	op : INLINEASM
000060   c098     JMP	#0x98                	JMP DATE_CHANGE_FLG_END
                                           	
                                           ;	op : INLINEASM
                                           NOT_DATE_CHANGE_BIG_FLG_DO_1:
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	1157; "../kf8spts2w_lib_touch_lib.c"	if(_KF8_Touch_Bits_._KF8_Touch_Protect_Flag)
                                           	BANKSEL	__KF8_Touch_Bits_
000061   79aa     JB	0xaa, 1               	JB	__KF8_Touch_Bits_, 1
000062   c07e     JMP	#0x7e                	JMP	_00057_DS_
                                           ;	op : INLINEASM
                                           	;;------------------------
000063   990b     MOV	R1, #0xb             	MOV R1,# high (__KF8_Disturb_Protect_Circle_Define+0)
000064   98f8     MOV	R0, #0xf8            	MOV R0,# low (__KF8_Disturb_Protect_Circle_Define+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000065   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000066   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000067   51c8     MOV	0xc8, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R0
000068   990b     MOV	R1, #0xb             	MOV R1,# high (__KF8_Disturb_Protect_Circle_Define+1)
000069   98f9     MOV	R0, #0xf9            	MOV R0,# low (__KF8_Disturb_Protect_Circle_Define+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
00006a   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00006b   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00006c   51c9     MOV	0xc9, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R0 ;
                                           	;;------------------------
                                           	BANKSEL __KF8_Disturb_Protect_Circle_
00006d   0bce     INC	0xce                 	INC __KF8_Disturb_Protect_Circle_
00006e   7203     JNB	0x3, 2               	JNB PSW,2
00006f   0bcf     INC	0xcf                 	INC __KF8_Disturb_Protect_Circle_+1 ;;
                                           	;;-------------------------
000070   50ce     MOV	R0, 0xce             	MOV R0,__KF8_Disturb_Protect_Circle_
000071   52cf     MOV	R1, 0xcf             	MOV R1,__KF8_Disturb_Protect_Circle_+1
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000072   3ac9     SUB	R1, 0xc9             	SUB R1,__KF8_LIBi_Touch_New_Date_TS2W_+1
000073   7803     JB	0x3, 0                	JB PSW,0
000074   c07a     JMP	#0x7a                	JMP Protect_Time_End_Deal_Flag ;
000075   7a03     JB	0x3, 2                	JB PSW,2
000076   c07d     JMP	#0x7d                	JMP Protect_Time_Deal_End_Flag ;
000077   38c8     SUB	R0, 0xc8             	SUB R0,__KF8_LIBi_Touch_New_Date_TS2W_
000078   7003     JNB	0x3, 0               	JNB PSW,0 ;
000079   c07d     JMP	#0x7d                	JMP Protect_Time_Deal_End_Flag
                                           	;;--------------------
                                           Protect_Time_End_Deal_Flag:
                                           	BANKSEL __KF8_Disturb_Protect_Circle_
00007a   03ce     CLR	0xce                 	CLR __KF8_Disturb_Protect_Circle_
00007b   03cf     CLR	0xcf                 	CLR __KF8_Disturb_Protect_Circle_+1 ;;
                                           	BANKSEL __KF8_Touch_Bits_
00007c   61aa     CLR	0xaa, 1              	CLR __KF8_Touch_Bits_,1 ;
                                           	;;--------------------
                                           Protect_Time_Deal_End_Flag:
                                           	
                                           ;	op : GOTO
                                           ;	.line	1211; "../kf8spts2w_lib_touch_lib.c"	if(1);
00007d   c098     JMP	#0x98                	JMP	_00058_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00057_DS_
00007e   990b     MOV	R1, #0xb             	MOV R1,# high (__KF8_Up_BaseLine_Circle_Define+0)
00007f   98fa     MOV	R0, #0xfa            	MOV R0,# low (__KF8_Up_BaseLine_Circle_Define+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000080   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000081   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000082   51c8     MOV	0xc8, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R0
000083   990b     MOV	R1, #0xb             	MOV R1,# high (__KF8_Up_BaseLine_Circle_Define+1)
000084   98fb     MOV	R0, #0xfb            	MOV R0,# low (__KF8_Up_BaseLine_Circle_Define+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
000085   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000086   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000087   51c9     MOV	0xc9, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R0 ;
                                           	;;----------------------------
                                           	BANKSEL __KF8_Up_BaseLine_Circle_
000088   0bcc     INC	0xcc                 	INC __KF8_Up_BaseLine_Circle_
000089   7203     JNB	0x3, 2               	JNB PSW,2
00008a   0bcd     INC	0xcd                 	INC __KF8_Up_BaseLine_Circle_+1
00008b   50cc     MOV	R0, 0xcc             	MOV R0,__KF8_Up_BaseLine_Circle_
00008c   52cd     MOV	R1, 0xcd             	MOV R1,__KF8_Up_BaseLine_Circle_+1
                                           	;;----------------------------
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00008d   3ac9     SUB	R1, 0xc9             	SUB R1,__KF8_LIBi_Touch_New_Date_TS2W_+1
00008e   7803     JB	0x3, 0                	JB PSW,0 ;;
00008f   c095     JMP	#0x95                	JMP Update_Baseline_Deal_Flag
000090   7a03     JB	0x3, 2                	JB PSW,2
000091   c098     JMP	#0x98                	JMP UP_BaseLine_End ;
000092   38c8     SUB	R0, 0xc8             	SUB R0,__KF8_LIBi_Touch_New_Date_TS2W_
000093   7003     JNB	0x3, 0               	JNB PSW,0 ;;
000094   c098     JMP	#0x98                	JMP UP_BaseLine_End
                                           	
                                           ;	op : INLINEASM
                                           Update_Baseline_Deal_Flag:
                                           	BANKSEL __KF8_Up_BaseLine_Circle_
000095   03cc     CLR	0xcc                 	CLR __KF8_Up_BaseLine_Circle_
000096   03cd     CLR	0xcd                 	CLR __KF8_Up_BaseLine_Circle_+1
                                           	
                                           ;	op : CALL
                                           ;	.line	1261; "../kf8spts2w_lib_touch_lib.c"	_KF8spts2w_Lib_BaseLine_Reget_();
                                           	PAGESEL	__KF8spts2w_Lib_BaseLine_Reget_
000097   d71e     CALL	#0x71e              	CALL	__KF8spts2w_Lib_BaseLine_Reget_
                                           	PAGESEL	$
                                           ;	op : INLINEASM
                                           UP_BaseLine_End:
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00058_DS_
                                           DATE_CHANGE_FLG_END:
                                           	
                                           ;	op : INLINEASM
000098   c247     JMP	#0x247               	JMP Channel_Order_Deal_END
                                           	
                                           ;	op : INLINEASM
                                           NOT_Reference_Channel_Order_Deal_1:
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	1285; "../kf8spts2w_lib_touch_lib.c"	if(!_KF8_Touch_Bits_._KF8_Touch_Protect_Flag)
                                           	BANKSEL	__KF8_Touch_Bits_
000099   71aa     JNB	0xaa, 1              	JNB	__KF8_Touch_Bits_, 1
00009a   c215     JMP	#0x215               	JMP	_00060_DS_
                                           ;	op : INLINEASM
00009b   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
00009c   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
00009d   80dc     ADD	R0, #0xdc            	ADD R0,#(__KF8_LIBi_Date_Change_)
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS2W_
00009e   52ca     MOV	R1, 0xca             	MOV R1,__KF8_lib_bahualvtemportemp_TS2W_
                                           	BANKSEL __KF8_LIBi_Date_Change_
00009f   f748     ST	[R0], R1              	ST [R0],R1
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS2W_
0000a0   52cb     MOV	R1, 0xcb             	MOV R1,__KF8_lib_bahualvtemportemp_TS2W_+1
0000a1   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_Date_Change_
0000a2   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : INLINEASM
0000a3   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
0000a4   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
                                           	BANKSEL _Date_Save_Buf_TS2W_
0000a5   51a8     MOV	0xa8, R0             	MOV _Date_Save_Buf_TS2W_,R0 ;
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _Date_Save_Buf_TS2W_
0000a6   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
0000a7   80dc     ADD	R0, #0xdc            	ADD R0,#(__KF8_LIBi_Date_Change_+0)
                                           	BANKSEL __KF8_LIBi_Date_Change_
0000a8   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000a9   53c8     MOV	0xc8, R1             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R1
0000aa   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_Date_Change_
0000ab   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000ac   53c9     MOV	0xc9, R1             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R1
0000ad   f7b9     JNB	R1, 7                	JNB R1,7
0000ae   c0c5     JMP	#0xc5                	JMP Key_Up_State_Flag_1
                                           	;;-------------
                                           	BANKSEL _Date_Save_Buf_TS2W_
0000af   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
0000b0   80e9     ADD	R0, #0xe9            	ADD R0,#Low(_CONFIG_NO_FINGER_THRESHOLD+1)
0000b1   990b     MOV	R1, #0xb             	MOV R1,#High(_CONFIG_NO_FINGER_THRESHOLD+1)
0000b2   7003     JNB	0x3, 0               	JNB PSW,0
0000b3   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
0000b4   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0000b5   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000b6   38c9     SUB	R0, 0xc9             	SUB R0,__KF8_LIBi_Touch_New_Date_TS2W_+1
0000b7   7803     JB	0x3, 0                	JB PSW,0
0000b8   c0c5     JMP	#0xc5                	JMP Key_Up_State_Flag_1
0000b9   7a03     JB	0x3, 2                	JB PSW,2
0000ba   c135     JMP	#0x135               	JMP KEY_UNDO_DEAL_1 ;
                                           	;;===
                                           	BANKSEL _Date_Save_Buf_TS2W_
0000bb   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
0000bc   80e8     ADD	R0, #0xe8            	ADD R0,#Low(_CONFIG_NO_FINGER_THRESHOLD+0)
0000bd   990b     MOV	R1, #0xb             	MOV R1,#High(_CONFIG_NO_FINGER_THRESHOLD+0)
0000be   7003     JNB	0x3, 0               	JNB PSW,0
0000bf   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
0000c0   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0000c1   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000c2   38c8     SUB	R0, 0xc8             	SUB R0,__KF8_LIBi_Touch_New_Date_TS2W_
0000c3   7003     JNB	0x3, 0               	JNB PSW,0
0000c4   c135     JMP	#0x135               	JMP KEY_UNDO_DEAL_1
                                           	
                                           ;	op : INLINEASM
                                           Key_Up_State_Flag_1:
                                           	
                                           ;	op : INLINEASM
0000c5   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+0)
0000c6   9802     MOV	R0, #0x2             	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
0000c7   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0000c8   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000c9   51c8     MOV	0xc8, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R0
0000ca   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+1)
0000cb   9803     MOV	R0, #0x3             	MOV R0,# low (_TCS_AMOUNT+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
0000cc   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0000cd   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000ce   51c9     MOV	0xc9, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R0 ;;
                                           	;;--------------
                                           	BANKSEL _Date_Save_Buf_TS2W_
0000cf   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
0000d0   80e1     ADD	R0, #0xe1            	ADD R0,#(__KF8_LIBc_touch_count_+1)
                                           	BANKSEL __KF8_LIBc_touch_count_
0000d1   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000d2   3ac9     SUB	R1, 0xc9             	SUB R1,__KF8_LIBi_Touch_New_Date_TS2W_+1
0000d3   7803     JB	0x3, 0                	JB PSW,0
0000d4   c0dc     JMP	#0xdc                	JMP Key_Down_To_Know_UP
0000d5   7a03     JB	0x3, 2                	JB PSW,2
0000d6   c158     JMP	#0x158               	JMP KEY_UNDO_END_FLAG
0000d7   ff08     DEC	R0                   	DEC R0
                                           	BANKSEL __KF8_LIBc_touch_count_
0000d8   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000d9   3ac8     SUB	R1, 0xc8             	SUB R1,__KF8_LIBi_Touch_New_Date_TS2W_
0000da   7003     JNB	0x3, 0               	JNB PSW,0
0000db   c158     JMP	#0x158               	JMP KEY_UNDO_END_FLAG
                                           	
                                           ;	op : INLINEASM
                                           Key_Down_To_Know_UP:
                                           	
                                           ;	op : INLINEASM
0000dc   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+0)
0000dd   9802     MOV	R0, #0x2             	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
0000de   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0000df   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000e0   51c8     MOV	0xc8, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R0
0000e1   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+1)
0000e2   9803     MOV	R0, #0x3             	MOV R0,# low (_TCS_AMOUNT+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
0000e3   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0000e4   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000e5   51c9     MOV	0xc9, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R0
0000e6   6003     CLR	0x3, 0               	CLR PSW,0
0000e7   13c8     RLC	0xc8                 	RLC __KF8_LIBi_Touch_New_Date_TS2W_
0000e8   13c9     RLC	0xc9                 	RLC __KF8_LIBi_Touch_New_Date_TS2W_+1 ;;
                                           	;;
                                           	BANKSEL _Date_Save_Buf_TS2W_
0000e9   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
0000ea   80e1     ADD	R0, #0xe1            	ADD R0,#(__KF8_LIBc_touch_count_+1)
                                           	BANKSEL __KF8_LIBc_touch_count_
0000eb   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000ec   3ac9     SUB	R1, 0xc9             	SUB R1, __KF8_LIBi_Touch_New_Date_TS2W_+1
0000ed   7803     JB	0x3, 0                	JB PSW,0
0000ee   c100     JMP	#0x100               	JMP KEY_UP_FLAG_DEAL_1
0000ef   7a03     JB	0x3, 2                	JB PSW,2
0000f0   c0f6     JMP	#0xf6                	JMP Key_Down_To_Up_Delay
0000f1   ff08     DEC	R0                   	DEC R0
                                           	BANKSEL __KF8_LIBc_touch_count_
0000f2   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0000f3   3ac8     SUB	R1, 0xc8             	SUB R1, __KF8_LIBi_Touch_New_Date_TS2W_
0000f4   7803     JB	0x3, 0                	JB PSW,0 ;
0000f5   c100     JMP	#0x100               	JMP KEY_UP_FLAG_DEAL_1 ;;
                                           	
                                           ;	op : INLINEASM
                                           Key_Down_To_Up_Delay:
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_LIBc_touch_count_
0000f6   f701     LD	R1, [R0]              	LD R1,[R0]
0000f7   8101     ADD	R1, #0x1             	ADD R1,#0x01
0000f8   f748     ST	[R0], R1              	ST [R0],R1
0000f9   7803     JB	0x3, 0                	JB PSW,0
0000fa   c158     JMP	#0x158               	JMP KEY_UNDO_END_FLAG
0000fb   ff10     INC	R0                   	INC R0
0000fc   f701     LD	R1, [R0]              	LD R1,[R0]
0000fd   ff11     INC	R1                   	INC R1
0000fe   f748     ST	[R0], R1              	ST [R0],R1
0000ff   c158     JMP	#0x158               	JMP KEY_UNDO_END_FLAG
                                           	
                                           ;	op : INLINEASM
                                           KEY_UP_FLAG_DEAL_1:
                                           	
                                           ;	op : INLINEASM
000100   0209     CLR	R1                   	CLR R1
                                           	BANKSEL __KF8_LIBc_touch_count_
000101   f748     ST	[R0], R1              	ST [R0],R1
000102   ff10     INC	R0                   	INC R0
000103   f748     ST	[R0], R1              	ST [R0],R1
                                           	
                                           ;	op : INLINEASM
                                           	;;-----------------------------
                                           	BANKSEL __KF8_LIBc_channel_
000104   50ab     MOV	R0, 0xab             	MOV R0, __KF8_LIBc_channel_
000105   80fc     ADD	R0, #0xfc            	ADD R0, #low (__KF8_TOUCH_CH_EN)
000106   990b     MOV	R1, #0xb             	MOV R1, #high (__KF8_TOUCH_CH_EN)
000107   7003     JNB	0x3, 0               	JNB PSW,0
000108   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
000109   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
                                           	;;===
00010a   6003     CLR	0x3, 0               	CLR PSW,0
00010b   ff18     RLC	R0                   	RLC R0
00010c   6003     CLR	0x3, 0               	CLR PSW,0
00010d   ff18     RLC	R0                   	RLC R0
00010e   e100     MOVB	0                   	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
00010f   51a7     MOV	0xa7, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS2W_ , R0
                                           	;;;;;;;;;;;;;;;;;;;;
000110   80d3     ADD	R0, #0xd3            	ADD R0,#low(__KF8_LIBt_buff_bit_TS2W_+0)
000111   9908     MOV	R1, #0x8             	MOV R1,#high(__KF8_LIBt_buff_bit_TS2W_+0)
000112   7003     JNB	0x3, 0               	JNB PSW,0
000113   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
000114   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000115   ff00     CPL	R0                   	CPL R0
000116   e100     MOVB	0                   	BANKSEL __KF8_LIBi_channel_flag_
000117   29f0     AND	0xf0, R0             	AND __KF8_LIBi_channel_flag_, R0 ;
                                           	;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
000118   50a7     MOV	R0, 0xa7             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS2W_
000119   80d4     ADD	R0, #0xd4            	ADD R0,#low(__KF8_LIBt_buff_bit_TS2W_+1)
00011a   9908     MOV	R1, #0x8             	MOV R1,#high(__KF8_LIBt_buff_bit_TS2W_+1)
00011b   7003     JNB	0x3, 0               	JNB PSW,0
00011c   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
00011d   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00011e   ff00     CPL	R0                   	CPL R0
00011f   e100     MOVB	0                   	BANKSEL __KF8_LIBi_channel_flag_
000120   29f1     AND	0xf1, R0             	AND (__KF8_LIBi_channel_flag_+1), R0 ;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
000121   50a7     MOV	R0, 0xa7             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS2W_
000122   80d5     ADD	R0, #0xd5            	ADD R0,#low(__KF8_LIBt_buff_bit_TS2W_+2)
000123   9908     MOV	R1, #0x8             	MOV R1,#high(__KF8_LIBt_buff_bit_TS2W_+2)
000124   7003     JNB	0x3, 0               	JNB PSW,0
000125   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
000126   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000127   ff00     CPL	R0                   	CPL R0
000128   e100     MOVB	0                   	BANKSEL __KF8_LIBi_channel_flag_
000129   29f2     AND	0xf2, R0             	AND (__KF8_LIBi_channel_flag_+2), R0 ;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
00012a   50a7     MOV	R0, 0xa7             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS2W_
00012b   80d6     ADD	R0, #0xd6            	ADD R0,#low(__KF8_LIBt_buff_bit_TS2W_+3)
00012c   9908     MOV	R1, #0x8             	MOV R1,#high(__KF8_LIBt_buff_bit_TS2W_+3)
00012d   7003     JNB	0x3, 0               	JNB PSW,0
00012e   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
00012f   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000130   ff00     CPL	R0                   	CPL R0
000131   e100     MOVB	0                   	BANKSEL __KF8_LIBi_channel_flag_
000132   29f3     AND	0xf3, R0             	AND (__KF8_LIBi_channel_flag_+3), R0 ;
                                           	;;------------------------------------------
000133   c158     JMP	#0x158               	JMP KEY_UNDO_END_FLAG
                                           	
                                           ;	op : INLINEASM
000134   c158     JMP	#0x158               	JMP KEY_UNDO_END_FLAG
                                           	
                                           ;	op : INLINEASM
                                           KEY_UNDO_DEAL_1:
                                           	
                                           ;	op : INLINEASM
000135   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+0)
000136   9802     MOV	R0, #0x2             	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000137   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000138   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000139   51c8     MOV	0xc8, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R0
00013a   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+1)
00013b   9803     MOV	R0, #0x3             	MOV R0,# low (_TCS_AMOUNT+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
00013c   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00013d   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00013e   51c9     MOV	0xc9, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R0
00013f   0bc8     INC	0xc8                 	INC __KF8_LIBi_Touch_New_Date_TS2W_
000140   7203     JNB	0x3, 2               	JNB PSW,2
000141   0bc9     INC	0xc9                 	INC __KF8_LIBi_Touch_New_Date_TS2W_+1 ;;
                                           	;;--------------------------------
                                           	BANKSEL _Date_Save_Buf_TS2W_
000142   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000143   80e1     ADD	R0, #0xe1            	ADD R0,#(__KF8_LIBc_touch_count_+1)
                                           	BANKSEL __KF8_LIBc_touch_count_
000144   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000145   3ac9     SUB	R1, 0xc9             	SUB R1,__KF8_LIBi_Touch_New_Date_TS2W_+1
000146   7803     JB	0x3, 0                	JB PSW,0 ;
000147   c14f     JMP	#0x14f               	JMP Key_Up_Back_Count_DS_1
000148   7a03     JB	0x3, 2                	JB PSW,2 ;
000149   c158     JMP	#0x158               	JMP KEY_UNDO_END_FLAG
00014a   ff08     DEC	R0                   	DEC R0
                                           	BANKSEL __KF8_LIBc_touch_count_
00014b   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00014c   3ac8     SUB	R1, 0xc8             	SUB R1,__KF8_LIBi_Touch_New_Date_TS2W_
00014d   7003     JNB	0x3, 0               	JNB PSW,0 ;;
00014e   c158     JMP	#0x158               	JMP KEY_UNDO_END_FLAG ;
                                           	;;-------------------------------
                                           	;;
                                           Key_Up_Back_Count_DS_1:
                                           	BANKSEL __KF8_LIBc_touch_count_
00014f   f701     LD	R1, [R0]              	LD R1,[R0]
000150   81ff     ADD	R1, #0xff            	ADD R1,#0xFF
000151   f748     ST	[R0], R1              	ST [R0],R1
000152   7003     JNB	0x3, 0               	JNB PSW,0
000153   c158     JMP	#0x158               	JMP KEY_UNDO_END_FLAG
000154   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBc_touch_count_
000155   f701     LD	R1, [R0]              	LD R1,[R0]
000156   ff09     DEC	R1                   	DEC R1
000157   f748     ST	[R0], R1              	ST [R0],R1
                                           	;;
                                           	
                                           ;	op : INLINEASM
                                           KEY_UNDO_END_FLAG:
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _Date_Save_Buf_TS2W_
000158   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000159   80e4     ADD	R0, #0xe4            	ADD R0,#low(__KF8_Config_Finger_Threshold+0)
00015a   990b     MOV	R1, #0xb             	MOV R1,#high(__KF8_Config_Finger_Threshold+0)
00015b   7003     JNB	0x3, 0               	JNB PSW,0
00015c   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
00015d   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00015e   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00015f   51c8     MOV	0xc8, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R0
                                           	BANKSEL _Date_Save_Buf_TS2W_
000160   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000161   80e5     ADD	R0, #0xe5            	ADD R0,#low(__KF8_Config_Finger_Threshold+1)
000162   990b     MOV	R1, #0xb             	MOV R1,#high(__KF8_Config_Finger_Threshold+1)
000163   7003     JNB	0x3, 0               	JNB PSW,0
000164   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
000165   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000166   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000167   51c9     MOV	0xc9, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R0 ;
                                           	BANKSEL _Date_Save_Buf_TS2W_
000168   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000169   80dd     ADD	R0, #0xdd            	ADD R0,#(__KF8_LIBi_Date_Change_+1)
                                           	BANKSEL __KF8_LIBi_Date_Change_
00016a   f701     LD	R1, [R0]              	LD R1,[R0]
00016b   f7b9     JNB	R1, 7                	JNB R1,7
00016c   c1e7     JMP	#0x1e7               	JMP Key_Down_Deal_No_Down_1 ;
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00016d   3ac9     SUB	R1, 0xc9             	SUB R1,__KF8_LIBi_Touch_New_Date_TS2W_+1
00016e   7803     JB	0x3, 0                	JB PSW,0 ;;
00016f   c177     JMP	#0x177               	JMP Key_Down_Deal_Down_1
000170   7a03     JB	0x3, 2                	JB PSW,2 ;;
000171   c1e7     JMP	#0x1e7               	JMP Key_Down_Deal_No_Down_1
000172   ff08     DEC	R0                   	DEC R0
                                           	BANKSEL __KF8_LIBi_Date_Change_
000173   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000174   3ac8     SUB	R1, 0xc8             	SUB R1,__KF8_LIBi_Touch_New_Date_TS2W_
000175   7003     JNB	0x3, 0               	JNB PSW,0 ;;
000176   c1e7     JMP	#0x1e7               	JMP Key_Down_Deal_No_Down_1
                                           	
                                           ;	op : INLINEASM
                                           Key_Down_Deal_Down_1:
                                           	
                                           ;	op : INLINEASM
                                           	BANKSEL _Date_Save_Buf_TS2W_
000177   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000178   80e0     ADD	R0, #0xe0            	ADD R0,#(__KF8_LIBc_touch_count_+0)
                                           	BANKSEL __KF8_LIBc_touch_count_
000179   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00017a   53c8     MOV	0xc8, R1             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R1
00017b   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBc_touch_count_
00017c   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00017d   53c9     MOV	0xc9, R1             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R1 ;
00017e   9900     MOV	R1, #0               	MOV R1,#High(_TCS_AMOUNT+1)
00017f   9803     MOV	R0, #0x3             	MOV R0,#Low(_TCS_AMOUNT+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
000180   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000181   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000182   38c9     SUB	R0, 0xc9             	SUB R0, __KF8_LIBi_Touch_New_Date_TS2W_+1
000183   7803     JB	0x3, 0                	JB PSW,0 ;
000184   c18e     JMP	#0x18e               	JMP KEY_DOWN_DEAL_DELAY_1
000185   7a03     JB	0x3, 2                	JB PSW,2 ;
000186   c19b     JMP	#0x19b               	JMP Key_Down_ADD_Deal_End
000187   9900     MOV	R1, #0               	MOV R1,#High(_TCS_AMOUNT+0)
000188   9802     MOV	R0, #0x2             	MOV R0,#Low(_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000189   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00018a   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00018b   38c8     SUB	R0, 0xc8             	SUB R0, __KF8_LIBi_Touch_New_Date_TS2W_
00018c   7003     JNB	0x3, 0               	JNB PSW,0 ;
00018d   c19b     JMP	#0x19b               	JMP Key_Down_ADD_Deal_End
                                           	;;---------------------------
                                           KEY_DOWN_DEAL_DELAY_1:
00018e   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
00018f   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
000190   80e0     ADD	R0, #0xe0            	ADD R0,#(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_LIBc_touch_count_
000191   f701     LD	R1, [R0]              	LD R1,[R0]
000192   ff11     INC	R1                   	INC R1
000193   f748     ST	[R0], R1              	ST [R0],R1
000194   7a03     JB	0x3, 2                	JB PSW,2
000195   c19b     JMP	#0x19b               	JMP Key_Down_ADD_Deal_End
000196   ff10     INC	R0                   	INC R0
000197   f701     LD	R1, [R0]              	LD R1,[R0]
000198   ff11     INC	R1                   	INC R1
000199   f748     ST	[R0], R1              	ST [R0],R1
00019a   c1e6     JMP	#0x1e6               	JMP Key_Down_End_Deal_1
                                           	
                                           ;	op : INLINEASM
                                           Key_Down_ADD_Deal_End:
00019b   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+0)
00019c   9802     MOV	R0, #0x2             	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
00019d   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00019e   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00019f   51c8     MOV	0xc8, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R0
0001a0   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+1)
0001a1   9803     MOV	R0, #0x3             	MOV R0,# low (_TCS_AMOUNT+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
0001a2   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0001a3   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0001a4   51c9     MOV	0xc9, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R0
                                           	;;====
0001a5   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
0001a6   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
0001a7   80e0     ADD	R0, #0xe0            	ADD R0,#__KF8_LIBc_touch_count_
                                           	BANKSEL __KF8_LIBc_touch_count_
0001a8   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0001a9   1ac8     XOR	R1, 0xc8             	XOR R1,__KF8_LIBi_Touch_New_Date_TS2W_
0001aa   7a03     JB	0x3, 2                	JB PSW,2
0001ab   c1e6     JMP	#0x1e6               	JMP Key_Down_End_Deal_1
0001ac   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBc_touch_count_
0001ad   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0001ae   1ac9     XOR	R1, 0xc9             	XOR R1,__KF8_LIBi_Touch_New_Date_TS2W_+1
0001af   7a03     JB	0x3, 2                	JB PSW,2
0001b0   c1e6     JMP	#0x1e6               	JMP Key_Down_End_Deal_1
                                           	;;
0001b1   ff08     DEC	R0                   	DEC R0
                                           	BANKSEL __KF8_LIBc_touch_count_
0001b2   f701     LD	R1, [R0]              	LD R1,[R0]
0001b3   8101     ADD	R1, #0x1             	ADD R1,#0x01
0001b4   f748     ST	[R0], R1              	ST [R0],R1
0001b5   7803     JB	0x3, 0                	JB PSW,0
0001b6   c1bb     JMP	#0x1bb               	JMP SET_Key_Down_Flag
0001b7   ff10     INC	R0                   	INC R0
0001b8   f701     LD	R1, [R0]              	LD R1,[R0]
0001b9   ff11     INC	R1                   	INC R1
0001ba   f748     ST	[R0], R1              	ST [R0],R1
                                           SET_Key_Down_Flag:
                                           	;;
                                           	BANKSEL __KF8_LIBc_channel_
0001bb   50ab     MOV	R0, 0xab             	MOV R0, __KF8_LIBc_channel_
0001bc   80fc     ADD	R0, #0xfc            	ADD R0, #low (__KF8_TOUCH_CH_EN)
0001bd   990b     MOV	R1, #0xb             	MOV R1, #high (__KF8_TOUCH_CH_EN)
0001be   7003     JNB	0x3, 0               	JNB PSW,0
0001bf   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
0001c0   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0001c1   6003     CLR	0x3, 0               	CLR PSW,0
0001c2   ff18     RLC	R0                   	RLC R0
0001c3   6003     CLR	0x3, 0               	CLR PSW,0
0001c4   ff18     RLC	R0                   	RLC R0
0001c5   e100     MOVB	0                   	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
0001c6   51a7     MOV	0xa7, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS2W_ , R0
                                           	;;;;;;;;;;;;;;;;;;;;
0001c7   80d3     ADD	R0, #0xd3            	ADD R0,#low(__KF8_LIBt_buff_bit_TS2W_+0)
0001c8   9908     MOV	R1, #0x8             	MOV R1,#high(__KF8_LIBt_buff_bit_TS2W_+0)
0001c9   7003     JNB	0x3, 0               	JNB PSW,0
0001ca   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
0001cb   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0001cc   e100     MOVB	0                   	BANKSEL __KF8_LIBi_channel_flag_
0001cd   31f0     ORL	0xf0, R0             	ORL __KF8_LIBi_channel_flag_,R0
                                           	;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
0001ce   50a7     MOV	R0, 0xa7             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS2W_
0001cf   80d4     ADD	R0, #0xd4            	ADD R0,#low(__KF8_LIBt_buff_bit_TS2W_+1)
0001d0   9908     MOV	R1, #0x8             	MOV R1,#high(__KF8_LIBt_buff_bit_TS2W_+1)
0001d1   7003     JNB	0x3, 0               	JNB PSW,0
0001d2   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
0001d3   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0001d4   e100     MOVB	0                   	BANKSEL __KF8_LIBi_channel_flag_
0001d5   31f1     ORL	0xf1, R0             	ORL (__KF8_LIBi_channel_flag_+1), R0
                                           	;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
0001d6   50a7     MOV	R0, 0xa7             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS2W_
0001d7   80d5     ADD	R0, #0xd5            	ADD R0,#low(__KF8_LIBt_buff_bit_TS2W_+2)
0001d8   9908     MOV	R1, #0x8             	MOV R1,#high(__KF8_LIBt_buff_bit_TS2W_+2)
0001d9   7003     JNB	0x3, 0               	JNB PSW,0
0001da   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
0001db   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0001dc   e100     MOVB	0                   	BANKSEL __KF8_LIBi_channel_flag_
0001dd   31f2     ORL	0xf2, R0             	ORL (__KF8_LIBi_channel_flag_+2), R0
                                           	;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
0001de   50a7     MOV	R0, 0xa7             	MOV R0, __KF8_lib_Date_Uchar_Temp_TS2W_
0001df   80d6     ADD	R0, #0xd6            	ADD R0,#low(__KF8_LIBt_buff_bit_TS2W_+3)
0001e0   9908     MOV	R1, #0x8             	MOV R1,#high(__KF8_LIBt_buff_bit_TS2W_+3)
0001e1   7003     JNB	0x3, 0               	JNB PSW,0
0001e2   ff11     INC	R1                   	INC R1
                                           	PAGESEL __R2PCHPCL_TS2W_
0001e3   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0001e4   e100     MOVB	0                   	BANKSEL __KF8_LIBi_channel_flag_
0001e5   31f3     ORL	0xf3, R0             	ORL (__KF8_LIBi_channel_flag_+3), R0
                                           	;;;;;;;;;;;;;;;;;;;;;
                                           	
                                           ;	op : INLINEASM
                                           Key_Down_End_Deal_1:
0001e6   c214     JMP	#0x214               	JMP Key_Down_Deal_END
                                           	
                                           ;	op : INLINEASM
                                           Key_Down_Deal_No_Down_1:
                                           	
                                           ;	op : INLINEASM
0001e7   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
0001e8   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
0001e9   80e0     ADD	R0, #0xe0            	ADD R0,#(__KF8_LIBc_touch_count_+0)
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
0001ea   51a7     MOV	0xa7, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS2W_,R0 ;
                                           	BANKSEL __KF8_LIBc_touch_count_
0001eb   f701     LD	R1, [R0]              	LD R1,[R0]
0001ec   a900     XOR	R1, #0               	XOR R1,#0x00
0001ed   7a03     JB	0x3, 2                	JB PSW,2
0001ee   c1f4     JMP	#0x1f4               	JMP Key_Down_count_Condition
0001ef   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBc_touch_count_
0001f0   f701     LD	R1, [R0]              	LD R1,[R0]
0001f1   a900     XOR	R1, #0               	XOR R1,#0x00
0001f2   7203     JNB	0x3, 2               	JNB PSW,2
0001f3   c214     JMP	#0x214               	JMP Key_Down_Count_Sub_End ;
                                           Key_Down_count_Condition:
                                           	;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
0001f4   50a7     MOV	R0, 0xa7             	MOV R0,__KF8_lib_Date_Uchar_Temp_TS2W_
                                           	BANKSEL __KF8_LIBc_touch_count_
0001f5   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0001f6   53c8     MOV	0xc8, R1             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R1
0001f7   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBc_touch_count_
0001f8   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0001f9   53c9     MOV	0xc9, R1             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R1 ;
0001fa   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+1)
0001fb   9803     MOV	R0, #0x3             	MOV R0,# low (_TCS_AMOUNT+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
0001fc   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
0001fd   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
0001fe   38c9     SUB	R0, 0xc9             	SUB R0,__KF8_LIBi_Touch_New_Date_TS2W_+1
0001ff   7803     JB	0x3, 0                	JB PSW,0 ;
000200   c20a     JMP	#0x20a               	JMP Key_Down_count_Sub
000201   7a03     JB	0x3, 2                	JB PSW,2 ;
000202   c214     JMP	#0x214               	JMP Key_Down_Count_Sub_End
000203   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+0)
000204   9802     MOV	R0, #0x2             	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000205   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000206   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000207   38c8     SUB	R0, 0xc8             	SUB R0,__KF8_LIBi_Touch_New_Date_TS2W_
000208   7003     JNB	0x3, 0               	JNB PSW,0 ;;
000209   c214     JMP	#0x214               	JMP Key_Down_Count_Sub_End
                                           Key_Down_count_Sub:
                                           	;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
00020a   50a7     MOV	R0, 0xa7             	MOV R0,__KF8_lib_Date_Uchar_Temp_TS2W_
                                           	BANKSEL __KF8_LIBc_touch_count_
00020b   f701     LD	R1, [R0]              	LD R1,[R0]
00020c   81ff     ADD	R1, #0xff            	ADD R1,#0xFF
00020d   f748     ST	[R0], R1              	ST [R0],R1
00020e   7003     JNB	0x3, 0               	JNB PSW,0
00020f   c214     JMP	#0x214               	JMP Key_Down_Count_Sub_End
000210   ff10     INC	R0                   	INC R0
000211   f701     LD	R1, [R0]              	LD R1,[R0]
000212   ff09     DEC	R1                   	DEC R1
000213   f748     ST	[R0], R1              	ST [R0],R1
                                           Key_Down_Count_Sub_End:
                                           	
                                           ;	op : INLINEASM
                                           Key_Down_Deal_END:
                                           	
                                           ;	op : GOTO
                                           ;	.line	1988; "../kf8spts2w_lib_touch_lib.c"	if(1);
000214   c247     JMP	#0x247               	JMP	_00061_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00060_DS_
000215   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL __KF8_LIBc_channel_
000216   12ab     RLCR	0xab                	RLCR __KF8_LIBc_channel_
000217   80e0     ADD	R0, #0xe0            	ADD R0,#(__KF8_LIBc_touch_count_)
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
000218   51a7     MOV	0xa7, R0             	MOV __KF8_lib_Date_Uchar_Temp_TS2W_,R0 ;
                                           	BANKSEL __KF8_LIBc_touch_count_
000219   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00021a   53c8     MOV	0xc8, R1             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R1
00021b   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBc_touch_count_
00021c   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00021d   53c9     MOV	0xc9, R1             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R1 ;;
                                           	;;======
00021e   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+1)
00021f   9803     MOV	R0, #0x3             	MOV R0,# low (_TCS_AMOUNT+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
000220   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000221   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000222   38c9     SUB	R0, 0xc9             	SUB R0,__KF8_LIBi_Touch_New_Date_TS2W_+1
000223   7803     JB	0x3, 0                	JB PSW,0 ;
000224   c22e     JMP	#0x22e               	JMP CLR_Key_Count_Do
000225   7a03     JB	0x3, 2                	JB PSW,2 ;
000226   c234     JMP	#0x234               	JMP SET_Key_Count_Know_Just
000227   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+0)
000228   9802     MOV	R0, #0x2             	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000229   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00022a   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00022b   38c8     SUB	R0, 0xc8             	SUB R0,__KF8_LIBi_Touch_New_Date_TS2W_
00022c   7003     JNB	0x3, 0               	JNB PSW,0 ;
00022d   c234     JMP	#0x234               	JMP SET_Key_Count_Know_Just
                                           CLR_Key_Count_Do:
                                           	;
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
00022e   50a7     MOV	R0, 0xa7             	MOV R0,__KF8_lib_Date_Uchar_Temp_TS2W_
00022f   0209     CLR	R1                   	CLR R1
                                           	BANKSEL __KF8_LIBc_touch_count_
000230   f748     ST	[R0], R1              	ST [R0],R1
000231   ff10     INC	R0                   	INC R0
000232   f748     ST	[R0], R1              	ST [R0],R1
000233   c247     JMP	#0x247               	JMP SET_Key_Count_Know_OUT_END
                                           SET_Key_Count_Know_Just:
                                           	;
000234   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+0)
000235   9802     MOV	R0, #0x2             	MOV R0,# low (_TCS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000236   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000237   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000238   51c8     MOV	0xc8, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_,R0
000239   9900     MOV	R1, #0               	MOV R1,# high (_TCS_AMOUNT+1)
00023a   9803     MOV	R0, #0x3             	MOV R0,# low (_TCS_AMOUNT+1)
                                           	PAGESEL __R2PCHPCL_TS2W_
00023b   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00023c   e100     MOVB	0                   	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
00023d   51c9     MOV	0xc9, R0             	MOV __KF8_LIBi_Touch_New_Date_TS2W_+1,R0
00023e   0bc8     INC	0xc8                 	INC __KF8_LIBi_Touch_New_Date_TS2W_
00023f   7203     JNB	0x3, 2               	JNB PSW,2
000240   0bc9     INC	0xc9                 	INC __KF8_LIBi_Touch_New_Date_TS2W_+1
                                           	;;==
000241   50c8     MOV	R0, 0xc8             	MOV R0,__KF8_LIBi_Touch_New_Date_TS2W_
                                           	BANKSEL __KF8_lib_Date_Uchar_Temp_TS2W_
000242   52a7     MOV	R1, 0xa7             	MOV R1,__KF8_lib_Date_Uchar_Temp_TS2W_
                                           	BANKSEL __KF8_LIBc_touch_count_
000243   f741     ST	[R1], R0              	ST [R1],R0
000244   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_LIBi_Touch_New_Date_TS2W_
000245   50c9     MOV	R0, 0xc9             	MOV R0,__KF8_LIBi_Touch_New_Date_TS2W_+1
                                           	BANKSEL __KF8_LIBc_touch_count_
000246   f741     ST	[R1], R0              	ST [R1],R0
                                           SET_Key_Count_Know_OUT_END:
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00061_DS_
                                           Channel_Order_Deal_END:
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           ;	.line	2090; "../kf8spts2w_lib_touch_lib.c"	if(1);
000247   0008     CRET                     	CRET	
                                           ; exit point of __KF8spts2w_LIBf_scan_channel_
                                           
                                           
                                           
                                           func.__KF8spts2w_LIBf_init_touch_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8spts2w_LIBf_init_touch_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8spts2w_LIBf_init_touch_	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	873; "../kf8spts2w_lib_touch_lib.c"	_KF8_LIBi_channel_flag_ = 0x0000;//ʼ
000aaa   e100     MOVB	0                   	BANKSEL	__KF8_LIBi_channel_flag_
000aab   03f0     CLR	0xf0                 	CLR	__KF8_LIBi_channel_flag_
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000aac   03f1     CLR	0xf1                 	CLR	(__KF8_LIBi_channel_flag_ + 1)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000aad   03f2     CLR	0xf2                 	CLR	(__KF8_LIBi_channel_flag_ + 2)
                                           	BANKSEL	__KF8_LIBi_channel_flag_
000aae   03f3     CLR	0xf3                 	CLR	(__KF8_LIBi_channel_flag_ + 3)
                                           ;	op : =
                                           ;	.line	874; "../kf8spts2w_lib_touch_lib.c"	_KF8_LIBc_channel_ = 0;//ʼ
                                           	BANKSEL	__KF8_LIBc_channel_
000aaf   03ab     CLR	0xab                 	CLR	__KF8_LIBc_channel_
                                           ;	op : =
                                           ;	.line	877; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Work_Flag=0; //ʼ
                                           	BANKSEL	__KF8_Touch_Bits_
000ab0   60aa     CLR	0xaa, 0              	CLR	__KF8_Touch_Bits_, 0
                                           ;	op : =
                                           ;	.line	878; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Protect_Flag=0;//ʼ
                                           	BANKSEL	__KF8_Touch_Bits_
000ab1   61aa     CLR	0xaa, 1              	CLR	__KF8_Touch_Bits_, 1
                                           ;	op : =
                                           ;	.line	879; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Need_Save_Flag=0;
                                           	BANKSEL	__KF8_Touch_Bits_
000ab2   63aa     CLR	0xaa, 3              	CLR	__KF8_Touch_Bits_, 3
                                           ;	op : =
                                           ;	.line	885; "../kf8spts2w_lib_touch_lib.c"	ii_buf_TS2W_=0;// ȿȡ
                                           	BANKSEL	_ii_buf_TS2W_
000ab3   03a9     CLR	0xa9                 	CLR	_ii_buf_TS2W_
                                           ;	op : INLINEASM
000ab4   e101     MOVB	0x1                 	MOVB #0x01
000ab5   9866     MOV	R0, #0x66            	MOV R0,#0x66
000ab6   514e     MOV	0x4e, R0             	MOV 0x4E,R0
                                           	
                                           ;	op : =
                                           ;	.line	893; "../kf8spts2w_lib_touch_lib.c"	T3IE = 1;	T3IF = 0;
000ab7   e100     MOVB	0                   	BANKSEL	_EIE2_bits
000ab8   6f2d     SET	0x2d, 7              	SET	_EIE2_bits, 7
                                           ;	op : =
                                           	BANKSEL	_EIF2_bits
000ab9   670d     CLR	0xd, 7               	CLR	_EIF2_bits, 7
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	895; "../kf8spts2w_lib_touch_lib.c"	if(!_KF8_Touch_Bits_._KF8_Touch_Do_T3_SP)
                                           	BANKSEL	__KF8_Touch_Bits_
000aba   75aa     JNB	0xaa, 5              	JNB	__KF8_Touch_Bits_, 5
000abb   cabf     JMP	#0xabf               	JMP	_00048_DS_
                                           ;	op : =
                                           ;	.line	897; "../kf8spts2w_lib_touch_lib.c"	T3H=0;		T3L=0;
                                           	BANKSEL	_T3H
000abc   035f     CLR	0x5f                 	CLR	_T3H
                                           ;	op : =
                                           	BANKSEL	_T3L
000abd   034f     CLR	0x4f                 	CLR	_T3L
                                           ;	op : GOTO
000abe   cac0     JMP	#0xac0               	JMP	_00049_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00048_DS_
                                           	MOVB #0x00
000abf   6553     CLR	0x53, 5              	CLR 0x53,5
                                           	
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00049_DS_
000ac0   98fc     MOV	R0, #0xfc            	MOV R0, # low (__KF8_TOUCH_CH_EN+0)
000ac1   990b     MOV	R1, #0xb             	MOV R1, # high (__KF8_TOUCH_CH_EN+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000ac2   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000ac3   9080     ORL	R0, #0x80            	ORL R0,#0x80 ;;
000ac4   e100     MOVB	0                   	BANKSEL _CTCTL0
000ac5   5153     MOV	0x53, R0             	MOV _CTCTL0,R0
000ac6   9830     MOV	R0, #0x30            	MOV R0,#0x30
000ac7   ff58     DECJZ	R0                 	DECJZ R0
000ac8   cac7     JMP	#0xac7               	JMP $-1 ;
                                           	BANKSEL __KF8_Touch_Bits_
000ac9   74aa     JNB	0xaa, 4              	JNB __KF8_Touch_Bits_,4 ;
000aca   cad3     JMP	#0xad3               	JMP GO_START_TC_DO
000acb   e101     MOVB	0x1                 	BANKSEL _T4H
000acc   0361     CLR	0x61                 	CLR _T4H
                                           	BANKSEL _T4L
000acd   0360     CLR	0x60                 	CLR _T4L
000ace   e100     MOVB	0                   	BANKSEL _INTCTL
000acf   660b     CLR	0xb, 6               	CLR _INTCTL,6
000ad0   670b     CLR	0xb, 7               	CLR _INTCTL,7
000ad1   e101     MOVB	0x1                 	BANKSEL _T4CTL
000ad2   6864     SET	0x64, 0              	SET _T4CTL,0
                                           GO_START_TC_DO:
000ad3   e100     MOVB	0                   	BANKSEL _CTCTL0
000ad4   6e53     SET	0x53, 6              	SET CTCTL0,6 ;
000ad5   0000     NOP                      	NOP
000ad6   7e53     JB	0x53, 6               	JB CTCTL0,6
000ad7   cad4     JMP	#0xad4               	JMP $-3
                                           	
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	950; "../kf8spts2w_lib_touch_lib.c"	if(!_KF8_Touch_Bits_._KF8_Touch_Do_T3_SP)
                                           	BANKSEL	__KF8_Touch_Bits_
000ad8   75aa     JNB	0xaa, 5              	JNB	__KF8_Touch_Bits_, 5
000ad9   cadb     JMP	#0xadb               	JMP	_00051_DS_
                                           ;	op : INLINEASM
                                           	MOVB #0x00
000ada   6d53     SET	0x53, 5              	SET 0x53,5
                                           	
                                           ;	op : LABEL
                                           ;	op : =
                                           _00051_DS_
                                           ;	.line	959; "../kf8spts2w_lib_touch_lib.c"	PUIE = 1;	AIE = 1;
                                           	BANKSEL	_INTCTL_bits
000adb   6e0b     SET	0xb, 6               	SET	_INTCTL_bits, 6
                                           ;	op : =
                                           	BANKSEL	_INTCTL_bits
000adc   6f0b     SET	0xb, 7               	SET	_INTCTL_bits, 7
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000add   0008     CRET                     	CRET	
                                           ; exit point of __KF8spts2w_LIBf_init_touch_
                                           
                                           
                                           
                                           func.__KF8spts2w_Lib_DateChange_get_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8spts2w_Lib_DateChange_get_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   __divuint
                                           ;   __divuint
                                           ;5 compiler assigned registers:
                                           ;   STK02
                                           ;   STK01
                                           ;   STK00
                                           ;   r0x1017
                                           ;   r0x1018
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8spts2w_Lib_DateChange_get_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
00080b   e100     MOVB	0                   	BANKSEL __KF8_Temp_Cur_B_TS2W_
00080c   50c2     MOV	R0, 0xc2             	MOV R0,__KF8_Temp_Cur_B_TS2W_
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
00080d   39c4     SUB	0xc4, R0             	SUB __KF8_Temp_Cur_A_TS2W_,R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
00080e   52c3     MOV	R1, 0xc3             	MOV R1,(__KF8_Temp_Cur_B_TS2W_+1)
00080f   7803     JB	0x3, 0                	JB PSW,0
000810   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
000811   3bc5     SUB	0xc5, R1             	SUB (__KF8_Temp_Cur_A_TS2W_+1),R1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000812   7003     JNB	0x3, 0               	JNB PSW,0
000813   c81b     JMP	#0x81b               	JMP label_4_4_4
                                           	;;
                                           	BANKSEL __KF8_Touch_Bits_
000814   62aa     CLR	0xaa, 2              	CLR __KF8_Touch_Bits_, 2
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
000815   05c4     CPL	0xc4                 	CPL __KF8_Temp_Cur_A_TS2W_
000816   05c5     CPL	0xc5                 	CPL (__KF8_Temp_Cur_A_TS2W_+1)
000817   0bc4     INC	0xc4                 	INC __KF8_Temp_Cur_A_TS2W_
000818   7203     JNB	0x3, 2               	JNB PSW,2
000819   0bc5     INC	0xc5                 	INC (__KF8_Temp_Cur_A_TS2W_+1)
00081a   c81c     JMP	#0x81c               	JMP label_5_5_5
                                           label_4_4_4:
                                           	;;
                                           	BANKSEL __KF8_Touch_Bits_
00081b   6aaa     SET	0xaa, 2              	SET __KF8_Touch_Bits_, 2
                                           label_5_5_5:
                                           	
                                           ;	op : BITWISEAND
                                           ;	.line	723; "../kf8spts2w_lib_touch_lib.c"	if(_KF8_Temp_Cur_A_TS2W_<1024)  // ʱֱΪЧ̶࣬仯Ϊ󣬷򰴹ʽ
                                           	BANKSEL	__KF8_Temp_Cur_A_TS2W_
00081c   0ec5     MOVZ	R0, 0xc5            	MOVZ	R0, (__KF8_Temp_Cur_A_TS2W_ + 1)
00081d   88fc     AND	R0, #0xfc            	AND	R0,# 0xfc
00081e   7a03     JB	0x3, 2                	JB	PSW, 2
00081f   c835     JMP	#0x835               	JMP	_00038_DS_
                                           ;	op : INLINEASM
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
000820   9806     MOV	R0, #0x6             	MOV R0,# 0x06
000821   ff10     INC	R0                   	INC R0
000822   c826     JMP	#0x826               	JMP Mul_64_Flag_1
                                           Mul_2_DO_1:
000823   6003     CLR	0x3, 0               	CLR PSW, 0
000824   13c4     RLC	0xc4                 	RLC __KF8_Temp_Cur_A_TS2W_
000825   13c5     RLC	0xc5                 	RLC (__KF8_Temp_Cur_A_TS2W_ + 1)
                                           Mul_64_Flag_1:
000826   ff58     DECJZ	R0                 	DECJZ R0
000827   c823     JMP	#0x823               	JMP Mul_2_DO_1
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000828   9808     MOV	R0, #0x8             	MOV R0,# 0x08
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000829   21c2     ADD	0xc2, R0             	ADD __KF8_Temp_Cur_B_TS2W_, R0
00082a   7003     JNB	0x3, 0               	JNB PSW, 0
00082b   0bc3     INC	0xc3                 	INC (__KF8_Temp_Cur_B_TS2W_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           get_lable_001:
00082c   9804     MOV	R0, #0x4             	MOV R0,# 0x04
00082d   ff10     INC	R0                   	INC R0
00082e   c832     JMP	#0x832               	JMP Div_16_DO_1
                                           Div_2_DO_1:
00082f   6003     CLR	0x3, 0               	CLR PSW, 0
000830   11c3     RRC	0xc3                 	RRC (__KF8_Temp_Cur_B_TS2W_ + 1)
000831   11c2     RRC	0xc2                 	RRC __KF8_Temp_Cur_B_TS2W_
                                           Div_16_DO_1:
000832   ff58     DECJZ	R0                 	DECJZ R0
000833   c82f     JMP	#0x82f               	JMP Div_2_DO_1
                                           	
                                           ;	op : GOTO
                                           ;	.line	763; "../kf8spts2w_lib_touch_lib.c"	if(1);// Ŷλ룬ɱŻͬʱǶ߼
000834   c857     JMP	#0x857               	JMP	_00039_DS_
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x3E80=16000), size=2
                                           _00038_DS_
                                           ;	.line	766; "../kf8spts2w_lib_touch_lib.c"	else if(_KF8_Temp_Cur_A_TS2W_<16000)
000835   983e     MOV	R0, #0x3e            	MOV	R0,# 0x3e
                                           	BANKSEL	__KF8_Temp_Cur_A_TS2W_
000836   38c5     SUB	R0, 0xc5             	SUB	R0, (__KF8_Temp_Cur_A_TS2W_ + 1)
                                           ;comparing bytes at offset 1
000837   7a03     JB	0x3, 2                	JB	PSW, 2
000838   c83b     JMP	#0x83b               	JMP	_00046_DS_
000839   9880     MOV	R0, #0x80            	MOV	R0,# 0x80
                                           	BANKSEL	__KF8_Temp_Cur_A_TS2W_
00083a   38c4     SUB	R0, 0xc4             	SUB	R0, __KF8_Temp_Cur_A_TS2W_
                                           _00046_DS_
00083b   7003     JNB	0x3, 0               	JNB	PSW, 0
00083c   c84d     JMP	#0x84d               	JMP	_00035_DS_
                                           ;	op : INLINEASM
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
00083d   9802     MOV	R0, #0x2             	MOV R0,# 0x02
00083e   ff10     INC	R0                   	INC R0
00083f   c843     JMP	#0x843               	JMP Mul_64_Flag_2
                                           Mul_2_DO_2:
000840   6003     CLR	0x3, 0               	CLR PSW, 0
000841   13c4     RLC	0xc4                 	RLC __KF8_Temp_Cur_A_TS2W_
000842   13c5     RLC	0xc5                 	RLC (__KF8_Temp_Cur_A_TS2W_ + 1)
                                           Mul_64_Flag_2:
000843   ff58     DECJZ	R0                 	DECJZ R0
000844   c840     JMP	#0x840               	JMP Mul_2_DO_2
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000845   9880     MOV	R0, #0x80            	MOV R0,# 0x80
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000846   21c2     ADD	0xc2, R0             	ADD __KF8_Temp_Cur_B_TS2W_, R0
000847   7003     JNB	0x3, 0               	JNB PSW, 0
000848   0bc3     INC	0xc3                 	INC (__KF8_Temp_Cur_B_TS2W_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           get_lable_002:
000849   50c3     MOV	R0, 0xc3             	MOV R0,(__KF8_Temp_Cur_B_TS2W_+1)
00084a   51c2     MOV	0xc2, R0             	MOV __KF8_Temp_Cur_B_TS2W_,R0
00084b   03c3     CLR	0xc3                 	CLR (__KF8_Temp_Cur_B_TS2W_+1)
                                           	
                                           ;	op : GOTO
                                           ;	.line	798; "../kf8spts2w_lib_touch_lib.c"	if(1);// Ŷλ룬ɱŻͬʱǶ߼
00084c   c857     JMP	#0x857               	JMP	_00039_DS_
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00035_DS_
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
00084d   6003     CLR	0x3, 0               	CLR PSW, 0
00084e   13c4     RLC	0xc4                 	RLC __KF8_Temp_Cur_A_TS2W_
00084f   13c5     RLC	0xc5                 	RLC (__KF8_Temp_Cur_A_TS2W_ + 1)
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000850   9801     MOV	R0, #0x1             	MOV R0,# 0x01
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000851   21c3     ADD	0xc3, R0             	ADD (__KF8_Temp_Cur_B_TS2W_+1), R0
                                           	;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
000852   6003     CLR	0x3, 0               	CLR PSW, 0
000853   50c3     MOV	R0, 0xc3             	MOV R0,(__KF8_Temp_Cur_B_TS2W_+1)
000854   ff20     RRC	R0                   	RRC R0
000855   51c2     MOV	0xc2, R0             	MOV __KF8_Temp_Cur_B_TS2W_,R0
000856   03c3     CLR	0xc3                 	CLR (__KF8_Temp_Cur_B_TS2W_+1)
                                           	
                                           ;	op : LABEL
                                           ;	op : SEND
                                           ;	op : SEND
                                           ;	op : CALL
                                           _00039_DS_
                                           ;	.line	841; "../kf8spts2w_lib_touch_lib.c"	_KF8_lib_bahualvtemportemp_TS2W_=_KF8_Temp_Cur_A_TS2W_/_KF8_Temp_Cur_B_TS2W_;
                                           	BANKSEL	__KF8_Temp_Cur_B_TS2W_
000857   0ec2     MOVZ	R0, 0xc2            	MOVZ	R0, __KF8_Temp_Cur_B_TS2W_
000858   e101     MOVB	0x1                 	BANKSEL	STK02
000859   5191     MOV	0x91, R0             	MOV	STK02, R0
00085a   e100     MOVB	0                   	BANKSEL	__KF8_Temp_Cur_B_TS2W_
00085b   0ec3     MOVZ	R0, 0xc3            	MOVZ	R0, (__KF8_Temp_Cur_B_TS2W_ + 1)
00085c   e101     MOVB	0x1                 	BANKSEL	STK01
00085d   5192     MOV	0x92, R0             	MOV	STK01, R0
00085e   e100     MOVB	0                   	BANKSEL	__KF8_Temp_Cur_A_TS2W_
00085f   0ec4     MOVZ	R0, 0xc4            	MOVZ	R0, __KF8_Temp_Cur_A_TS2W_
000860   e101     MOVB	0x1                 	BANKSEL	STK00
000861   5193     MOV	0x93, R0             	MOV	STK00, R0
000862   e100     MOVB	0                   	BANKSEL	__KF8_Temp_Cur_A_TS2W_
000863   0ec5     MOVZ	R0, 0xc5            	MOVZ	R0, (__KF8_Temp_Cur_A_TS2W_ + 1)
                                           	PAGESEL	__divuint
000864   da72     CALL	#0xa72              	CALL	__divuint
                                           	PAGESEL	$
000865   e100     MOVB	0                   	BANKSEL	r0x1017
000866   51a4     MOV	0xa4, R0             	MOV	r0x1017, R0
000867   e101     MOVB	0x1                 	BANKSEL	STK00
000868   0e93     MOVZ	R0, 0x93            	MOVZ	R0, STK00
000869   e100     MOVB	0                   	BANKSEL	__KF8_lib_bahualvtemportemp_TS2W_
00086a   51ca     MOV	0xca, R0             	MOV	__KF8_lib_bahualvtemportemp_TS2W_, R0
                                           ;;1	MOV	r0x1018, R0
                                           ;	op : CAST
                                           ;;99	MOVZ	R0, r0x1018
                                           	BANKSEL	r0x1017
00086b   0ea4     MOVZ	R0, 0xa4            	MOVZ	R0, r0x1017
                                           	BANKSEL	__KF8_lib_bahualvtemportemp_TS2W_
00086c   51cb     MOV	0xcb, R0             	MOV	(__KF8_lib_bahualvtemportemp_TS2W_ + 1), R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_Touch_Bits_
00086d   7aaa     JB	0xaa, 2               	JB __KF8_Touch_Bits_,2 ;
00086e   c874     JMP	#0x874               	JMP ABS_CHANGE_END_1
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS2W_
00086f   05ca     CPL	0xca                 	CPL __KF8_lib_bahualvtemportemp_TS2W_
000870   05cb     CPL	0xcb                 	CPL (__KF8_lib_bahualvtemportemp_TS2W_+1)
000871   0bca     INC	0xca                 	INC __KF8_lib_bahualvtemportemp_TS2W_
000872   7203     JNB	0x3, 2               	JNB PSW,2
000873   0bcb     INC	0xcb                 	INC (__KF8_lib_bahualvtemportemp_TS2W_+1)
                                           ABS_CHANGE_END_1:
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           ;	.line	862; "../kf8spts2w_lib_touch_lib.c"	if(1);
000874   0008     CRET                     	CRET	
                                           ; exit point of __KF8spts2w_Lib_DateChange_get_
                                           
                                           
                                           
                                           func.__KF8spts2w_Lib_BaseLine_Reget_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8spts2w_Lib_BaseLine_Reget_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   __mulint
                                           ;   __mulint
                                           ;3 compiler assigned registers:
                                           ;   STK02
                                           ;   STK01
                                           ;   STK00
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8spts2w_Lib_BaseLine_Reget_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
00071e   e100     MOVB	0                   	BANKSEL _ii_buf_TS2W_
00071f   03a9     CLR	0xa9                 	CLR _ii_buf_TS2W_
                                           	;;-----------------------------
                                           FOR_NEXT_DO_IN_Scan_1:
000720   990c     MOV	R1, #0xc             	MOV R1,# high (_CHS_AMOUNT+0)
000721   9800     MOV	R0, #0               	MOV R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000722   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000723   e100     MOVB	0                   	BANKSEL _ii_buf_TS2W_
000724   52a9     MOV	R1, 0xa9             	MOV R1,_ii_buf_TS2W_
000725   f848     SUB	R0, R1               	SUB R0,R1 ;
000726   7003     JNB	0x3, 0               	JNB PSW,0 ;
000727   c79e     JMP	#0x79e               	JMP FOR_NEXT_DO_IN_Scan_End
                                           	;;-----------------------------
                                           	
                                           ;	op : INLINEASM
000728   990c     MOV	R1, #0xc             	MOV R1,# high (__KF8_Inside_Reference_Channel_Order+0)
000729   9801     MOV	R0, #0x1             	MOV R0,# low (__KF8_Inside_Reference_Channel_Order+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
00072a   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
00072b   e100     MOVB	0                   	BANKSEL _ii_buf_TS2W_
00072c   18a9     XOR	R0, 0xa9             	XOR R0,_ii_buf_TS2W_
00072d   7203     JNB	0x3, 2               	JNB PSW,2
00072e   c79c     JMP	#0x79c               	JMP FOR_DO_IN_Scan_End
                                           	
                                           ;	op : INLINEASM
                                           	;;------------------------------------
00072f   6003     CLR	0x3, 0               	CLR PSW,0
000730   12a9     RLCR	0xa9                	RLCR _ii_buf_TS2W_
                                           	BANKSEL _Date_Save_Buf_TS2W_
000731   51a8     MOV	0xa8, R0             	MOV _Date_Save_Buf_TS2W_,R0 ;
                                           	;;-------------------------------------
000732   80e4     ADD	R0, #0xe4            	ADD R0,#(__KF8_LIBi_buff_refline_)
                                           	BANKSEL __KF8_LIBi_buff_refline_
000733   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000734   53c2     MOV	0xc2, R1             	MOV __KF8_Temp_Cur_B_TS2W_,R1
000735   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_refline_
000736   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000737   53c3     MOV	0xc3, R1             	MOV (__KF8_Temp_Cur_B_TS2W_+1),R1 ;;
                                           	;;------------------------------------
000738   9820     MOV	R0, #0x20            	MOV R0,#0x20
000739   21c2     ADD	0xc2, R0             	ADD __KF8_Temp_Cur_B_TS2W_,R0
00073a   7803     JB	0x3, 0                	JB PSW,0
00073b   0bc3     INC	0xc3                 	INC __KF8_Temp_Cur_B_TS2W_+1;
00073c   9806     MOV	R0, #0x6             	MOV R0,#0x06 ;
00073d   ff10     INC	R0                   	INC R0
00073e   c742     JMP	#0x742               	JMP DIV_64_Get_B_IN_Scan_001
                                           DIV_64_Get_B_IN_Scan_002:
00073f   6003     CLR	0x3, 0               	CLR PSW,0
000740   11c3     RRC	0xc3                 	RRC __KF8_Temp_Cur_B_TS2W_+1
000741   11c2     RRC	0xc2                 	RRC __KF8_Temp_Cur_B_TS2W_
                                           DIV_64_Get_B_IN_Scan_001:
000742   ff58     DECJZ	R0                 	DECJZ R0
000743   c73f     JMP	#0x73f               	JMP DIV_64_Get_B_IN_Scan_002 ;;
                                           	
                                           ;	op : INLINEASM
                                           	;;----------------------------------
                                           	BANKSEL __KF8_Touch_Bits_
000744   62aa     CLR	0xaa, 2              	CLR __KF8_Touch_Bits_,2 ;;
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS2W_
000745   50ca     MOV	R0, 0xca             	MOV R0,__KF8_lib_bahualvtemportemp_TS2W_
000746   52cb     MOV	R1, 0xcb             	MOV R1,__KF8_lib_bahualvtemportemp_TS2W_+1
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
000747   51c4     MOV	0xc4, R0             	MOV __KF8_Temp_Cur_A_TS2W_,R0
000748   53c5     MOV	0xc5, R1             	MOV __KF8_Temp_Cur_A_TS2W_+1,R1
                                           	BANKSEL __KF8_lib_bahualvtemportemp_TS2W_
000749   7fcb     JB	0xcb, 7               	JB __KF8_lib_bahualvtemportemp_TS2W_+1,7
00074a   c751     JMP	#0x751               	JMP ABS_GET_DO_END_IN_Scan_1
                                           	;;
                                           	BANKSEL __KF8_Touch_Bits_
00074b   6aaa     SET	0xaa, 2              	SET __KF8_Touch_Bits_,2 ;;
                                           	BANKSEL __KF8_Temp_Cur_A_TS2W_
00074c   05c5     CPL	0xc5                 	CPL __KF8_Temp_Cur_A_TS2W_+1
00074d   05c4     CPL	0xc4                 	CPL __KF8_Temp_Cur_A_TS2W_
00074e   0bc4     INC	0xc4                 	INC __KF8_Temp_Cur_A_TS2W_
00074f   7203     JNB	0x3, 2               	JNB PSW,2
000750   0bc5     INC	0xc5                 	INC __KF8_Temp_Cur_A_TS2W_+1
                                           	;----------------------------------
                                           ABS_GET_DO_END_IN_Scan_1:
                                           	
                                           ;	op : SEND
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	506; "../kf8spts2w_lib_touch_lib.c"	_KF8_Temp_Cur_B_TS2W_*=_KF8_Temp_Cur_A_TS2W_;
                                           	BANKSEL	__KF8_Temp_Cur_A_TS2W_
000751   0ec4     MOVZ	R0, 0xc4            	MOVZ	R0, __KF8_Temp_Cur_A_TS2W_
000752   e101     MOVB	0x1                 	BANKSEL	STK02
000753   5191     MOV	0x91, R0             	MOV	STK02, R0
000754   e100     MOVB	0                   	BANKSEL	__KF8_Temp_Cur_A_TS2W_
000755   0ec5     MOVZ	R0, 0xc5            	MOVZ	R0, (__KF8_Temp_Cur_A_TS2W_ + 1)
000756   e101     MOVB	0x1                 	BANKSEL	STK01
000757   5192     MOV	0x92, R0             	MOV	STK01, R0
000758   e100     MOVB	0                   	BANKSEL	__KF8_Temp_Cur_B_TS2W_
000759   0ec2     MOVZ	R0, 0xc2            	MOVZ	R0, __KF8_Temp_Cur_B_TS2W_
00075a   e101     MOVB	0x1                 	BANKSEL	STK00
00075b   5193     MOV	0x93, R0             	MOV	STK00, R0
00075c   e100     MOVB	0                   	BANKSEL	__KF8_Temp_Cur_B_TS2W_
00075d   0ec3     MOVZ	R0, 0xc3            	MOVZ	R0, (__KF8_Temp_Cur_B_TS2W_ + 1)
                                           	PAGESEL	__mulint
00075e   db82     CALL	#0xb82              	CALL	__mulint
                                           	PAGESEL	$
00075f   e100     MOVB	0                   	BANKSEL	__KF8_Temp_Cur_B_TS2W_
000760   51c3     MOV	0xc3, R0             	MOV	(__KF8_Temp_Cur_B_TS2W_ + 1), R0
000761   e101     MOVB	0x1                 	BANKSEL	STK00
000762   0e93     MOVZ	R0, 0x93            	MOVZ	R0, STK00
000763   e100     MOVB	0                   	BANKSEL	__KF8_Temp_Cur_B_TS2W_
000764   51c2     MOV	0xc2, R0             	MOV	__KF8_Temp_Cur_B_TS2W_, R0
                                           ;	op : INLINEASM
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000765   9808     MOV	R0, #0x8             	MOV R0,#0x08
000766   21c2     ADD	0xc2, R0             	ADD __KF8_Temp_Cur_B_TS2W_,R0 ;
000767   7003     JNB	0x3, 0               	JNB PSW,0
000768   0bc3     INC	0xc3                 	INC __KF8_Temp_Cur_B_TS2W_+1
000769   9804     MOV	R0, #0x4             	MOV R0,#0x04
00076a   ff10     INC	R0                   	INC R0
00076b   c76f     JMP	#0x76f               	JMP Get_Base_DIV_16_DO_IN_Scan_1
                                           Get_Base_DIV_16_DO_IN_Scan_2:
00076c   6003     CLR	0x3, 0               	CLR PSW,0
00076d   11c3     RRC	0xc3                 	RRC __KF8_Temp_Cur_B_TS2W_+1
00076e   11c2     RRC	0xc2                 	RRC __KF8_Temp_Cur_B_TS2W_
                                           Get_Base_DIV_16_DO_IN_Scan_1:
00076f   ff58     DECJZ	R0                 	DECJZ R0
000770   c76c     JMP	#0x76c               	JMP Get_Base_DIV_16_DO_IN_Scan_2 ;;
                                           	
                                           ;	op : INLINEASM
                                           	;
000771   6003     CLR	0x3, 0               	CLR PSW,0
                                           	BANKSEL _ii_buf_TS2W_
000772   12a9     RLCR	0xa9                	RLCR _ii_buf_TS2W_
                                           	BANKSEL _Date_Save_Buf_TS2W_
000773   51a8     MOV	0xa8, R0             	MOV _Date_Save_Buf_TS2W_,R0 ;
                                           	;;
000774   80e4     ADD	R0, #0xe4            	ADD R0,#(__KF8_LIBi_buff_refline_)
                                           	BANKSEL __KF8_LIBi_buff_refline_
000775   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _Date_Save_Buf_TS2W_
000776   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
000777   80e8     ADD	R0, #0xe8            	ADD R0,#(__KF8_LIBi_buff_baseline_)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000778   f748     ST	[R0], R1              	ST [R0],R1 ;;
                                           	BANKSEL _Date_Save_Buf_TS2W_
000779   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
00077a   80e5     ADD	R0, #0xe5            	ADD R0,#(__KF8_LIBi_buff_refline_+1)
                                           	BANKSEL __KF8_LIBi_buff_refline_
00077b   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL _Date_Save_Buf_TS2W_
00077c   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
00077d   80e9     ADD	R0, #0xe9            	ADD R0,#(__KF8_LIBi_buff_baseline_+1)
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00077e   f748     ST	[R0], R1              	ST [R0],R1 ;;
                                           	;;----------------------------------------
                                           	BANKSEL __KF8_Touch_Bits_
00077f   7aaa     JB	0xaa, 2               	JB __KF8_Touch_Bits_,2 ;;
000780   c78c     JMP	#0x78c               	JMP Ref_Sub_Date_DO_IN_Scan_1
                                           	;;
000781   ff08     DEC	R0                   	DEC R0
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000782   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000783   22c2     ADD	R1, 0xc2             	ADD R1,__KF8_Temp_Cur_B_TS2W_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000784   f748     ST	[R0], R1              	ST [R0],R1 ;
000785   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000786   f701     LD	R1, [R0]              	LD R1,[R0]
000787   7003     JNB	0x3, 0               	JNB PSW,0
000788   ff11     INC	R1                   	INC R1
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000789   22c3     ADD	R1, 0xc3             	ADD R1,__KF8_Temp_Cur_B_TS2W_+1
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00078a   f748     ST	[R0], R1              	ST [R0],R1 ;
00078b   c79c     JMP	#0x79c               	JMP FOR_DO_IN_Scan_End
                                           	;;
                                           Ref_Sub_Date_DO_IN_Scan_1:
00078c   ff08     DEC	R0                   	DEC R0
                                           	BANKSEL _Date_Save_Buf_TS2W_
00078d   51a8     MOV	0xa8, R0             	MOV _Date_Save_Buf_TS2W_,R0;
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00078e   f701     LD	R1, [R0]              	LD R1,[R0]
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
00078f   50c2     MOV	R0, 0xc2             	MOV R0,__KF8_Temp_Cur_B_TS2W_
000790   f848     SUB	R0, R1               	SUB R0,R1
                                           	BANKSEL _Date_Save_Buf_TS2W_
000791   52a8     MOV	R1, 0xa8             	MOV R1,_Date_Save_Buf_TS2W_
                                           	BANKSEL __KF8_LIBi_buff_baseline_
000792   f741     ST	[R1], R0              	ST [R1],R0
000793   ff11     INC	R1                   	INC R1
000794   f708     LD	R0, [R1]              	LD R0,[R1]
000795   7803     JB	0x3, 0                	JB PSW,0
000796   ff08     DEC	R0                   	DEC R0
                                           	BANKSEL __KF8_Temp_Cur_B_TS2W_
000797   52c3     MOV	R1, 0xc3             	MOV R1,__KF8_Temp_Cur_B_TS2W_+1
000798   f841     SUB	R1, R0               	SUB R1,R0
                                           	BANKSEL _Date_Save_Buf_TS2W_
000799   50a8     MOV	R0, 0xa8             	MOV R0,_Date_Save_Buf_TS2W_
00079a   ff10     INC	R0                   	INC R0
                                           	BANKSEL __KF8_LIBi_buff_baseline_
00079b   f748     ST	[R0], R1              	ST [R0],R1 ;
                                           	
                                           ;	op : INLINEASM
                                           FOR_DO_IN_Scan_End:
                                           	
                                           ;	op : INLINEASM
                                           	;
                                           	BANKSEL _ii_buf_TS2W_
00079c   0ba9     INC	0xa9                 	INC _ii_buf_TS2W_
00079d   c720     JMP	#0x720               	JMP FOR_NEXT_DO_IN_Scan_1
                                           FOR_NEXT_DO_IN_Scan_End:
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           ;	.line	632; "../kf8spts2w_lib_touch_lib.c"	if(1);
00079e   0008     CRET                     	CRET	
                                           ; exit point of __KF8spts2w_Lib_BaseLine_Reget_
                                           
                                           
                                           
                                           func.__KF8spts2w_Lib_SET_MCU_Parameter	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __KF8spts2w_Lib_SET_MCU_Parameter	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;1 compiler assigned register :
                                           ;   r0x101A
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __KF8spts2w_Lib_SET_MCU_Parameter	;Function start
                                           ; 2 exit points
                                           ;	op : RECEIVE
                                           ;	.line	354; "../kf8spts2w_lib_touch_lib.c"	void _KF8spts2w_Lib_SET_MCU_Parameter(unsigned char parameterin)
000b69   e100     MOVB	0                   	BANKSEL	r0x101A
000b6a   51a2     MOV	0xa2, R0             	MOV	r0x101A, R0
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x3=3), size=1
                                           ;	.line	358; "../kf8spts2w_lib_touch_lib.c"	switch(parameterin)
000b6b   9803     MOV	R0, #0x3             	MOV	R0,# 0x03
                                           	BANKSEL	r0x101A
000b6c   38a2     SUB	R0, 0xa2             	SUB	R0, r0x101A
                                           ;comparing bytes at offset 0
000b6d   7003     JNB	0x3, 0               	JNB	PSW, 0
000b6e   cb81     JMP	#0xb81               	JMP	_00027_DS_
                                           ;	op : JUMPTABLE
000b6f   980b     MOV	R0, #0xb             	MOV	R0,#high _00031_DS_
000b70   510a     MOV	0xa, R0              	MOV	PCH, R0
000b71   9876     MOV	R0, #0x76            	MOV	R0,#_00031_DS_
                                           	BANKSEL	r0x101A
000b72   20a2     ADD	R0, 0xa2             	ADD	R0, r0x101A
000b73   7003     JNB	0x3, 0               	JNB	PSW, 0
000b74   0b0a     INC	0xa                  	INC	PCH
000b75   5102     MOV	0x2, R0              	MOV	PCL, R0
                                           _00031_DS_
000b76   cb79     JMP	#0xb79               	JMP	_00022_DS_
000b77   cb7c     JMP	#0xb7c               	JMP	_00023_DS_
000b78   cb7f     JMP	#0xb7f               	JMP	_00024_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00022_DS_
                                           ;	.line	362; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Get_Timer_IS_T3=1;
                                           	BANKSEL	__KF8_Touch_Bits_
000b79   6caa     SET	0xaa, 4              	SET	__KF8_Touch_Bits_, 4
                                           ;	op : =
                                           ;	.line	363; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Do_T3_SP=0;
                                           	BANKSEL	__KF8_Touch_Bits_
000b7a   65aa     CLR	0xaa, 5              	CLR	__KF8_Touch_Bits_, 5
                                           ;	op : GOTO
                                           ;	.line	364; "../kf8spts2w_lib_touch_lib.c"	}break;
000b7b   cb81     JMP	#0xb81               	JMP	_00027_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00023_DS_
                                           ;	.line	367; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Get_Timer_IS_T3=0;
                                           	BANKSEL	__KF8_Touch_Bits_
000b7c   64aa     CLR	0xaa, 4              	CLR	__KF8_Touch_Bits_, 4
                                           ;	op : =
                                           ;	.line	368; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Do_T3_SP=0;
                                           	BANKSEL	__KF8_Touch_Bits_
000b7d   65aa     CLR	0xaa, 5              	CLR	__KF8_Touch_Bits_, 5
                                           ;	op : GOTO
                                           ;	.line	369; "../kf8spts2w_lib_touch_lib.c"	}break;
000b7e   cb81     JMP	#0xb81               	JMP	_00027_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00024_DS_
                                           ;	.line	372; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Get_Timer_IS_T3=1;
                                           	BANKSEL	__KF8_Touch_Bits_
000b7f   6caa     SET	0xaa, 4              	SET	__KF8_Touch_Bits_, 4
                                           ;	op : =
                                           ;	.line	373; "../kf8spts2w_lib_touch_lib.c"	_KF8_Touch_Bits_._KF8_Touch_Do_T3_SP=1;
                                           	BANKSEL	__KF8_Touch_Bits_
000b80   6daa     SET	0xaa, 5              	SET	__KF8_Touch_Bits_, 5
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00027_DS_
                                           ;	.line	379; "../kf8spts2w_lib_touch_lib.c"	}
000b81   0008     CRET                     	CRET	
                                           ; exit point of __KF8spts2w_Lib_SET_MCU_Parameter
                                           
                                           
                                           
                                           func._write_eep_ts2w_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _write_eep_ts2w_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _read_data_eep_ts2w_check
                                           ;   _read_data_eep_ts2w_check
                                           ;2 compiler assigned registers:
                                           ;   r0x1017
                                           ;   r0x1018
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _write_eep_ts2w_	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	263; "../kf8spts2w_lib_touch_lib.c"	intctlbuf_TS2W_=INTCTL;
00092b   e100     MOVB	0                   	BANKSEL	_INTCTL
00092c   0e0b     MOVZ	R0, 0xb             	MOVZ	R0, _INTCTL
                                           	BANKSEL	_intctlbuf_TS2W_
00092d   51a5     MOV	0xa5, R0             	MOV	_intctlbuf_TS2W_, R0
                                           ;	op : =
                                           ;	.line	264; "../kf8spts2w_lib_touch_lib.c"	oscctlbuf_TS2W_=OSCCTL;
                                           	BANKSEL	_OSCCTL
00092e   0e2f     MOVZ	R0, 0x2f            	MOVZ	R0, _OSCCTL
                                           	BANKSEL	_oscctlbuf_TS2W_
00092f   51a6     MOV	0xa6, R0             	MOV	_oscctlbuf_TS2W_, R0
                                           ;	op : INLINEASM
                                           	BANKSEL _INTCTL
000930   670b     CLR	0xb, 7               	CLR _INTCTL , _AIE
000931   660b     CLR	0xb, 6               	CLR _INTCTL ,_PUIE
000932   770b     JNB	0xb, 7               	JNB _INTCTL , _AIE
000933   c930     JMP	#0x930               	JMP $-3
                                           WRITE_EE_DO_DS_001:
                                           	BANKSEL __KF8_Touch_Bits_
000934   6eaa     SET	0xaa, 6              	SET __KF8_Touch_Bits_,6
000935   980f     MOV	R0, #0xf             	MOV R0 , #0x0F
                                           	BANKSEL _NVMADDRH
000936   513a     MOV	0x3a, R0             	MOV _NVMADDRH , R0
000937   98c0     MOV	R0, #0xc0            	MOV R0 , #0xC0
                                           	BANKSEL _NVMADDRL
000938   513b     MOV	0x3b, R0             	MOV _NVMADDRL , R0
000939   9aca     MOV	R2, #0xca            	MOV R2 , #_Arr_erom_TS2W_
                                           	
                                           ;	op : =
                                           ;	.line	286; "../kf8spts2w_lib_touch_lib.c"	OSCCTL = 0x50;
00093a   9850     MOV	R0, #0x50            	MOV	R0,# 0x50
                                           	BANKSEL	_OSCCTL
00093b   512f     MOV	0x2f, R0             	MOV	_OSCCTL, R0
                                           ;	op : INLINEASM
00093c   0000     NOP                      	NOP 
                                           ;	op : INLINEASM
00093d   0000     NOP                      	NOP 
                                           ;	op : =
                                           ;	.line	290; "../kf8spts2w_lib_touch_lib.c"	for(i=0;i<16;i++)
00093e   9810     MOV	R0, #0x10            	MOV	R0,# 0x10
                                           	BANKSEL	r0x1018
00093f   51a3     MOV	0xa3, R0             	MOV	r0x1018, R0
                                           	BANKSEL	r0x1017
000940   51a4     MOV	0xa4, R0             	MOV	r0x1017, R0
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00017_DS_
000941   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_
000942   f710     LD	R0, [R2]              	LD R0 , [ R2 ]
000943   e100     MOVB	0                   	BANKSEL _NVMDATAL
000944   5139     MOV	0x39, R0             	MOV _NVMDATAL,R0
000945   ff12     INC	R2                   	INC R2
000946   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_
000947   f710     LD	R0, [R2]              	LD R0 , [ R2 ]
000948   ff12     INC	R2                   	INC R2
000949   e100     MOVB	0                   	BANKSEL _NVMDATAH
00094a   5138     MOV	0x38, R0             	MOV _NVMDATAH,R0
00094b   9884     MOV	R0, #0x84            	MOV R0 , #0x84
                                           	BANKSEL _NVMCTL0
00094c   513c     MOV	0x3c, R0             	MOV _NVMCTL0 , R0
00094d   9869     MOV	R0, #0x69            	MOV R0 , #0x69
                                           	BANKSEL _NVMCTL1
00094e   513d     MOV	0x3d, R0             	MOV _NVMCTL1 , R0
00094f   9896     MOV	R0, #0x96            	MOV R0 , #0x96
                                           	BANKSEL _NVMCTL1
000950   513d     MOV	0x3d, R0             	MOV _NVMCTL1 , R0
                                           	BANKSEL _NVMCTL0
000951   693c     SET	0x3c, 1              	SET _NVMCTL0 , 1
000952   ffff     NOPZ                     	.DW 0XFFFF
000953   ffff     NOPZ                     	.DW 0XFFFF
000954   ffff     NOPZ                     	.DW 0XFFFF
000955   ffff     NOPZ                     	.DW 0XFFFF
000956   ffff     NOPZ                     	.DW 0XFFFF
000957   ffff     NOPZ                     	.DW 0XFFFF
000958   ffff     NOPZ                     	.DW 0XFFFF
000959   ffff     NOPZ                     	.DW 0XFFFF
00095a   ffff     NOPZ                     	.DW 0XFFFF
00095b   ffff     NOPZ                     	.DW 0XFFFF
00095c   ffff     NOPZ                     	.DW 0XFFFF
00095d   ffff     NOPZ                     	.DW 0XFFFF
00095e   9880     MOV	R0, #0x80            	MOV R0 , #0X80
                                           	BANKSEL _NVMCTL0
00095f   513c     MOV	0x3c, R0             	MOV _NVMCTL0,R0
                                           	BANKSEL _NVMADDRL
000960   0b3b     INC	0x3b                 	INC _NVMADDRL
                                           	
                                           ;	op : CAST
                                           ;;100	MOVZ	R0, r0x1017
                                           ;	op : -
                                           	BANKSEL	r0x1018
000961   07a3     DEC	0xa3                 	DEC	r0x1018
                                           ;	op : CAST
                                           	BANKSEL	r0x1018
000962   0ea3     MOVZ	R0, 0xa3            	MOVZ	R0, r0x1018
                                           	BANKSEL	r0x1017
000963   51a4     MOV	0xa4, R0             	MOV	r0x1017, R0
                                           ;	op : IFX
                                           ;	.line	290; "../kf8spts2w_lib_touch_lib.c"	for(i=0;i<16;i++)
000964   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x1017
000965   30a4     ORL	R0, 0xa4             	ORL	R0, r0x1017
000966   7a03     JB	0x3, 2                	JB	PSW, 2
000967   c941     JMP	#0x941               	JMP	_00017_DS_
                                           ;	op : CALL
                                           ;	.line	336; "../kf8spts2w_lib_touch_lib.c"	read_data_eep_ts2w_check();
                                           	PAGESEL	_read_data_eep_ts2w_check
000968   da35     CALL	#0xa35              	CALL	_read_data_eep_ts2w_check
                                           	PAGESEL	$
                                           ;	op : INLINEASM
000969   e100     MOVB	0                   	BANKSEL __KF8_Touch_Bits_
00096a   7eaa     JB	0xaa, 6               	JB __KF8_Touch_Bits_,6 ;;
00096b   c934     JMP	#0x934               	JMP WRITE_EE_DO_DS_001
                                           	
                                           ;	op : =
                                           ;	.line	343; "../kf8spts2w_lib_touch_lib.c"	OSCCTL = oscctlbuf_TS2W_;
                                           	BANKSEL	_oscctlbuf_TS2W_
00096c   0ea6     MOVZ	R0, 0xa6            	MOVZ	R0, _oscctlbuf_TS2W_
                                           	BANKSEL	_OSCCTL
00096d   512f     MOV	0x2f, R0             	MOV	_OSCCTL, R0
                                           ;	op : INLINEASM
00096e   0000     NOP                      	NOP 
                                           ;	op : BITWISEAND
                                           ;	.line	345; "../kf8spts2w_lib_touch_lib.c"	intctlbuf_TS2W_&=0xC0;
00096f   98c0     MOV	R0, #0xc0            	MOV	R0,# 0xc0
                                           	BANKSEL	_intctlbuf_TS2W_
000970   29a5     AND	0xa5, R0             	AND	_intctlbuf_TS2W_, R0
                                           ;	op : |
                                           ;	.line	346; "../kf8spts2w_lib_touch_lib.c"	INTCTL|=intctlbuf_TS2W_;
                                           	BANKSEL	_intctlbuf_TS2W_
000971   0ea5     MOVZ	R0, 0xa5            	MOVZ	R0, _intctlbuf_TS2W_
                                           	BANKSEL	_INTCTL
000972   310b     ORL	0xb, R0              	ORL	_INTCTL, R0
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000973   0008     CRET                     	CRET	
                                           ; exit point of _write_eep_ts2w_
                                           
                                           
                                           
                                           func._read_data_eep_ts2w_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _read_data_eep_ts2w_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   __R2PCL
                                           ;   _read_data_eep_ts2w_check
                                           ;   __R2PCL
                                           ;   _read_data_eep_ts2w_check
                                           ;2 compiler assigned registers:
                                           ;   r0x1017
                                           ;   r0x1018
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _read_data_eep_ts2w_	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	188; "../kf8spts2w_lib_touch_lib.c"	intctlbuf_TS2W_=INTCTL;
0009f8   e100     MOVB	0                   	BANKSEL	_INTCTL
0009f9   0e0b     MOVZ	R0, 0xb             	MOVZ	R0, _INTCTL
                                           	BANKSEL	_intctlbuf_TS2W_
0009fa   51a5     MOV	0xa5, R0             	MOV	_intctlbuf_TS2W_, R0
                                           ;	op : =
                                           ;	.line	189; "../kf8spts2w_lib_touch_lib.c"	oscctlbuf_TS2W_=OSCCTL;
                                           	BANKSEL	_OSCCTL
0009fb   0e2f     MOVZ	R0, 0x2f            	MOVZ	R0, _OSCCTL
                                           	BANKSEL	_oscctlbuf_TS2W_
0009fc   51a6     MOV	0xa6, R0             	MOV	_oscctlbuf_TS2W_, R0
                                           ;	op : INLINEASM
                                           	BANKSEL _INTCTL
0009fd   660b     CLR	0xb, 6               	CLR _INTCTL,6
0009fe   670b     CLR	0xb, 7               	CLR _INTCTL, 7
0009ff   770b     JNB	0xb, 7               	JNB _INTCTL, 7
000a00   c9fd     JMP	#0x9fd               	JMP $-3
                                           READ_EE_DO_DS_001:
                                           	BANKSEL __KF8_Touch_Bits_
000a01   6eaa     SET	0xaa, 6              	SET __KF8_Touch_Bits_,6
                                           	;;
000a02   980f     MOV	R0, #0xf             	MOV R0,#0X0F ;BLOCK EEPROM׵ַΪ
                                           	BANKSEL _NVMADDRH
000a03   513a     MOV	0x3a, R0             	MOV _NVMADDRH,R0 ;
000a04   98c0     MOV	R0, #0xc0            	MOV R0,#0XC0 ;
                                           	BANKSEL _NVMADDRL
000a05   513b     MOV	0x3b, R0             	MOV _NVMADDRL,R0 ;
000a06   0000     NOP                      	NOP
                                           	;;
000a07   9aca     MOV	R2, #0xca            	MOV R2 , #_Arr_erom_TS2W_
                                           	
                                           ;	op : =
                                           ;	.line	216; "../kf8spts2w_lib_touch_lib.c"	OSCCTL=0x20;
000a08   9820     MOV	R0, #0x20            	MOV	R0,# 0x20
                                           	BANKSEL	_OSCCTL
000a09   512f     MOV	0x2f, R0             	MOV	_OSCCTL, R0
                                           ;	op : INLINEASM
000a0a   0000     NOP                      	NOP 
                                           ;	op : INLINEASM
000a0b   0000     NOP                      	NOP 
                                           ;	op : =
                                           ;	.line	220; "../kf8spts2w_lib_touch_lib.c"	for(i=0;i<CHS_AMOUNT;i++)
                                           	BANKSEL	r0x1017
000a0c   03a4     CLR	0xa4                 	CLR	r0x1017
                                           ;	op : LABEL
                                           ;	op : =
                                           ;gen_assign from CODESPACE
                                           _00005_DS_
000a0d   990c     MOV	R1, #0xc             	MOV	R1,# high (_CHS_AMOUNT+0)
000a0e   9800     MOV	R0, #0               	MOV	R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
000a0f   dbfe     CALL	#0xbfe              	CALL	__R2PCL
                                           	PAGESEL	$
000a10   e100     MOVB	0                   	BANKSEL	r0x1018
000a11   51a3     MOV	0xa3, R0             	MOV	r0x1018, R0
                                           ;	op : <
                                           	BANKSEL	r0x1018
000a12   0ea3     MOVZ	R0, 0xa3            	MOVZ	R0, r0x1018
                                           	BANKSEL	r0x1017
000a13   38a4     SUB	R0, 0xa4             	SUB	R0, r0x1017
                                           ;comparing bytes at offset 0
000a14   7003     JNB	0x3, 0               	JNB	PSW, 0
000a15   ca29     JMP	#0xa29               	JMP	_00008_DS_
                                           ;	op : INLINEASM
000a16   9881     MOV	R0, #0x81            	MOV R0,#0x81
                                           	BANKSEL _NVMCTL0
000a17   513c     MOV	0x3c, R0             	MOV _NVMCTL0,R0
000a18   ffff     NOPZ                     	.DW 0XFFFF
000a19   ffff     NOPZ                     	.DW 0XFFFF
000a1a   ffff     NOPZ                     	.DW 0XFFFF
000a1b   ffff     NOPZ                     	.DW 0XFFFF
                                           	BANKSEL _NVMDATAL
000a1c   5039     MOV	R0, 0x39             	MOV R0,_NVMDATAL
000a1d   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_
000a1e   f742     ST	[R2], R0              	ST [R2] , R0
000a1f   ff12     INC	R2                   	INC R2
000a20   e100     MOVB	0                   	BANKSEL _NVMDATAH
000a21   5038     MOV	R0, 0x38             	MOV R0,_NVMDATAH
000a22   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_
000a23   f742     ST	[R2], R0              	ST [R2] , R0
000a24   ff12     INC	R2                   	INC R2
000a25   e100     MOVB	0                   	BANKSEL _NVMADDRL
000a26   0b3b     INC	0x3b                 	INC _NVMADDRL
                                           	
                                           ;	op : +
                                           ;	.line	220; "../kf8spts2w_lib_touch_lib.c"	for(i=0;i<CHS_AMOUNT;i++)
                                           	BANKSEL	r0x1017
000a27   0ba4     INC	0xa4                 	INC	r0x1017
                                           ;	op : GOTO
000a28   ca0d     JMP	#0xa0d               	JMP	_00005_DS_
                                           ;	op : LABEL
                                           ;	op : CALL
                                           _00008_DS_
                                           ;	.line	245; "../kf8spts2w_lib_touch_lib.c"	read_data_eep_ts2w_check();
                                           	PAGESEL	_read_data_eep_ts2w_check
000a29   da35     CALL	#0xa35              	CALL	_read_data_eep_ts2w_check
                                           	PAGESEL	$
                                           ;	op : INLINEASM
000a2a   e100     MOVB	0                   	BANKSEL __KF8_Touch_Bits_
000a2b   7eaa     JB	0xaa, 6               	JB __KF8_Touch_Bits_,6 ;;
000a2c   ca01     JMP	#0xa01               	JMP READ_EE_DO_DS_001
                                           	
                                           ;	op : =
                                           ;	.line	253; "../kf8spts2w_lib_touch_lib.c"	OSCCTL = oscctlbuf_TS2W_;
                                           	BANKSEL	_oscctlbuf_TS2W_
000a2d   0ea6     MOVZ	R0, 0xa6            	MOVZ	R0, _oscctlbuf_TS2W_
                                           	BANKSEL	_OSCCTL
000a2e   512f     MOV	0x2f, R0             	MOV	_OSCCTL, R0
                                           ;	op : INLINEASM
000a2f   0000     NOP                      	NOP 
                                           ;	op : BITWISEAND
                                           ;	.line	255; "../kf8spts2w_lib_touch_lib.c"	intctlbuf_TS2W_&=0xC0;
000a30   98c0     MOV	R0, #0xc0            	MOV	R0,# 0xc0
                                           	BANKSEL	_intctlbuf_TS2W_
000a31   29a5     AND	0xa5, R0             	AND	_intctlbuf_TS2W_, R0
                                           ;	op : |
                                           ;	.line	256; "../kf8spts2w_lib_touch_lib.c"	INTCTL|=intctlbuf_TS2W_;
                                           	BANKSEL	_intctlbuf_TS2W_
000a32   0ea5     MOVZ	R0, 0xa5            	MOVZ	R0, _intctlbuf_TS2W_
                                           	BANKSEL	_INTCTL
000a33   310b     ORL	0xb, R0              	ORL	_INTCTL, R0
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000a34   0008     CRET                     	CRET	
                                           ; exit point of _read_data_eep_ts2w_
                                           
                                           
                                           
                                           func._read_data_eep_ts2w_check	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _read_data_eep_ts2w_check	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _read_data_eep_ts2w_check	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
000a35   980f     MOV	R0, #0xf             	MOV R0,#0X0F ;BLOCK EEPROM׵ַΪ
000a36   e100     MOVB	0                   	BANKSEL _NVMADDRH
000a37   513a     MOV	0x3a, R0             	MOV _NVMADDRH,R0 ;
000a38   98c0     MOV	R0, #0xc0            	MOV R0,#0XC0 ;
                                           	BANKSEL _NVMADDRL
000a39   513b     MOV	0x3b, R0             	MOV _NVMADDRL,R0 ;
000a3a   0000     NOP                      	NOP
000a3b   9aaa     MOV	R2, #0xaa            	MOV R2 , #_Arr_erom_TS2W_Check
                                           	
                                           ;	op : INLINEASM
000a3c   990c     MOV	R1, #0xc             	MOV R1,#high(_CHS_AMOUNT+0)
000a3d   9800     MOV	R0, #0               	MOV R0,#low(_CHS_AMOUNT+0)
                                           	PAGESEL __R2PCHPCL_TS2W_
000a3e   dbf0     CALL	#0xbf0              	CALL __R2PCHPCL_TS2W_
                                           	PAGESEL $
000a3f   f8c5     MOV	R5, R0               	MOV R5,R0 ;
000a40   f8c4     MOV	R4, R0               	MOV R4,R0 ;
                                           	
                                           ;	op : INLINEASM
                                           DO_CHECK_IN_READ:
000a41   e100     MOVB	0                   	BANKSEL _NVMCTL0
000a42   9881     MOV	R0, #0x81            	MOV R0,#0x81
000a43   513c     MOV	0x3c, R0             	MOV _NVMCTL0,R0
000a44   ffff     NOPZ                     	.DW 0XFFFF
000a45   ffff     NOPZ                     	.DW 0XFFFF
                                           	BANKSEL _NVMDATAL
000a46   5039     MOV	R0, 0x39             	MOV R0,_NVMDATAL
000a47   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_Check
000a48   f742     ST	[R2], R0              	ST [R2] , R0
000a49   ff12     INC	R2                   	INC R2
000a4a   e100     MOVB	0                   	BANKSEL _NVMDATAH
000a4b   5038     MOV	R0, 0x38             	MOV R0,_NVMDATAH
000a4c   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_Check
000a4d   f742     ST	[R2], R0              	ST [R2] , R0
000a4e   ff12     INC	R2                   	INC R2
000a4f   e100     MOVB	0                   	BANKSEL _NVMADDRL
000a50   0b3b     INC	0x3b                 	INC _NVMADDRL
000a51   ff5d     DECJZ	R5                 	DECJZ R5
000a52   ca41     JMP	#0xa41               	JMP DO_CHECK_IN_READ
                                           	
                                           ;	op : INLINEASM
000a53   9aca     MOV	R2, #0xca            	MOV R2,#_Arr_erom_TS2W_
000a54   9baa     MOV	R3, #0xaa            	MOV R3,#_Arr_erom_TS2W_Check
                                           DO_CHECK_IN_CHECK:
000a55   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_Check
000a56   f8d9     MOV	R1, R3               	MOV R1 ,R3
000a57   f708     LD	R0, [R1]              	LD R0,[R1]
000a58   f8c5     MOV	R5, R0               	MOV R5,R0
                                           	BANKSEL _Arr_erom_TS2W_
000a59   f8d1     MOV	R1, R2               	MOV R1,R2
000a5a   f708     LD	R0, [R1]              	LD R0,[R1]
000a5b   f968     XOR	R0, R5               	XOR R0,R5
000a5c   7203     JNB	0x3, 2               	JNB PSW,2
000a5d   ca60     JMP	#0xa60               	JMP DO_CHECK_High
000a5e   e100     MOVB	0                   	BANKSEL __KF8_Touch_Bits_
000a5f   66aa     CLR	0xaa, 6              	CLR __KF8_Touch_Bits_,6 ;;
                                           DO_CHECK_High:
000a60   ff12     INC	R2                   	INC R2
000a61   ff13     INC	R3                   	INC R3
000a62   e101     MOVB	0x1                 	BANKSEL _Arr_erom_TS2W_Check
000a63   f8d9     MOV	R1, R3               	MOV R1 ,R3
000a64   f708     LD	R0, [R1]              	LD R0,[R1]
000a65   f8c5     MOV	R5, R0               	MOV R5,R0
                                           	BANKSEL _Arr_erom_TS2W_
000a66   f8d1     MOV	R1, R2               	MOV R1,R2
000a67   f708     LD	R0, [R1]              	LD R0,[R1]
000a68   f968     XOR	R0, R5               	XOR R0,R5
000a69   7203     JNB	0x3, 2               	JNB PSW,2
000a6a   ca6d     JMP	#0xa6d               	JMP DO_CHECK_NEXT
000a6b   e100     MOVB	0                   	BANKSEL __KF8_Touch_Bits_
000a6c   66aa     CLR	0xaa, 6              	CLR __KF8_Touch_Bits_,6 ;;
                                           	;;
                                           DO_CHECK_NEXT:
000a6d   ff12     INC	R2                   	INC R2
000a6e   ff13     INC	R3                   	INC R3
000a6f   ff5c     DECJZ	R4                 	DECJZ R4
000a70   ca55     JMP	#0xa55               	JMP DO_CHECK_IN_CHECK
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000a71   0008     CRET                     	CRET	
                                           ; exit point of _read_data_eep_ts2w_check
                                           
                                           
                                           
                                           func.__R2PCHPCL_TS2W_	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  __R2PCHPCL_TS2W_	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           __R2PCHPCL_TS2W_	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
000bf0   530a     MOV	0xa, R1              	MOV PCH,R1
000bf1   5102     MOV	0x2, R0              	MOV PCL,R0
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000bf2   0008     CRET                     	CRET	
                                           ; exit point of __R2PCHPCL_TS2W_
                                           
                                           
                                           ;	code size estimation:
                                           ;	  217+  107 =   324 instructions (  862 byte)
                                           
                                           
                                           	.end
                                           ;--------------------------------------------------------
                                           ; File Created by ChiponCC : aolisn inc.
                                           ; Version 3.0.4#6752 (Jul  6 2017 15:09:47) (MSVC)
                                           ; This file was generated Tue Apr 03 20:31:56 2018
                                           ;--------------------------------------------------------
                                           ; chipon port for the 16-bit core
                                           ;--------------------------------------------------------
                                           ;	.file	"../main.c"
                                           	.radix dec
                                           	.include "KF8TS2508.inc"
                                           ;************************************************************
                                           ;       Header file for the KungFu8
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           T0			.EQU                 0x01
                                           PCL			.EQU                 0x02
                                           PSW			.EQU                 0x03
                                           P0			.EQU                 0x05
                                           P2			.EQU                 0x06
                                           P1			.EQU                 0x07
                                           PCH			.EQU                 0x0A
                                           INTCTL			.EQU                 0x0B
                                           EIF1			.EQU                 0x0C
                                           EIF2			.EQU                 0x0D
                                           T1L			.EQU                 0x0E
                                           T1H			.EQU                 0x0F
                                           T1CTL			.EQU                 0x10
                                           PWM1L			.EQU                 0x13
                                           PWMCTL			.EQU                 0x15
                                           PP1			.EQU                 0x16
                                           BANK			.EQU                 0x17
                                           ADSCANCTL		.EQU                 0x18
                                           VDACS			.EQU                 0x1A
                                           ANSEH			.EQU                 0x1D
                                           ADCDATA0H		.EQU                 0x1E
                                           ADCCTL0			.EQU                 0x1F
                                           OPTR			.EQU                 0x21
                                           IP0			.EQU                 0x22
                                           IP1			.EQU                 0x23
                                           IP2			.EQU                 0x24
                                           TR0			.EQU                 0x25
                                           TR2			.EQU                 0x26
                                           TR1			.EQU                 0x27
                                           OSCSTA			.EQU                 0x28
                                           IP3			.EQU                 0x29
                                           VRECAL1			.EQU                 0x2A
                                           VRECTL			.EQU                 0x2B
                                           EIE1			.EQU                 0x2C
                                           EIE2			.EQU                 0x2D
                                           PCTL			.EQU                 0x2E
                                           OSCCTL			.EQU                 0x2F
                                           OSCCAL0			.EQU                 0x30
                                           ANSEL			.EQU                 0x31
                                           PP2			.EQU                 0x32
                                           PWM2L			.EQU                 0x33
                                           PUR0			.EQU                 0x35
                                           IOCL			.EQU                 0x36
                                           OSCCAL1			.EQU                 0x37
                                           NVMDATAH		.EQU                 0x38
                                           NVMDATAL		.EQU                 0x39
                                           NVMADDRH		.EQU                 0x3A
                                           NVMADDRL		.EQU                 0x3B
                                           NVMCTL0			.EQU                 0x3C
                                           NVMCTL1			.EQU                 0x3D
                                           ADCDATA0L		.EQU                 0x3E
                                           ADCCTL1			.EQU                 0x3F
                                           P0LR			.EQU                 0x45
                                           P2LR			.EQU                 0x46
                                           P1LR			.EQU                 0x47
                                           EIE3			.EQU                 0x4A
                                           EIF3			.EQU                 0x4B
                                           OSCCAL2			.EQU                 0x4C
                                           OSCCAL3			.EQU                 0x4D
                                           T3CTL			.EQU                 0x4E
                                           T3L			.EQU                 0x4F
                                           ADCDATA1H		.EQU                 0x50
                                           ADCDATA1L		.EQU                 0x51
                                           CTCTL0			.EQU                 0x53
                                           ADCINTCTL		.EQU                 0x58
                                           ADCDATA2H		.EQU                 0x59
                                           ADCDATA2L		.EQU                 0x5A
                                           ADCDATA3H		.EQU                 0x5E
                                           T3H			.EQU                 0x5F
                                           PUR1			.EQU                 0x60
                                           PUR2			.EQU                 0x61
                                           CTCTL1			.EQU                 0x64
                                           INTEDGCTL		.EQU                 0x67
                                           ADCDATA3L		.EQU                 0x6A
                                           VDAC			.EQU                 0x112
                                           VRES			.EQU                 0x113
                                           SSCICTL0		.EQU                 0x128
                                           SSCICTL1		.EQU                 0x12A
                                           SSCISTA			.EQU                 0x12B
                                           SSCIBUFR		.EQU                 0x12C
                                           SSCIADD			.EQU                 0x12E
                                           SSCIMSK			.EQU                 0x12E
                                           WDTPS			.EQU                 0x12F
                                           VRECAL2			.EQU                 0x159
                                           VRECAL3			.EQU                 0x15A
                                           CTCTL2			.EQU                 0x15B
                                           T4L			.EQU                 0x160
                                           T4H			.EQU                 0x161
                                           T4REL			.EQU                 0x162
                                           T4REH			.EQU                 0x163
                                           T4CTL			.EQU                 0x164
                                           RC32KCAL		.EQU                 0x165
                                           
                                           
                                           ;  03H  PSW   Bits-------------------------------------
                                           TO			.EQU                4
                                           PD			.EQU                3
                                           Z			.EQU                2
                                           DC			.EQU                1
                                           CY			.EQU                0
                                           _TO			.EQU                4
                                           _PD			.EQU                3
                                           _Z			.EQU                2
                                           _DC			.EQU                1
                                           _CY			.EQU                0
                                           
                                           ;  05H  P0   Bits-------------------------------------
                                           P05			.EQU                5
                                           P04			.EQU                4
                                           P03			.EQU                3
                                           P02			.EQU                2
                                           P01			.EQU                1
                                           P00			.EQU                0
                                           _P05			.EQU                5
                                           _P04			.EQU                4
                                           _P03			.EQU                3
                                           _P02			.EQU                2
                                           _P01			.EQU                1
                                           _P00			.EQU                0
                                           
                                           ;  06H  P2   Bits-------------------------------------
                                           P23			.EQU                3
                                           P22			.EQU                2
                                           P21			.EQU                1
                                           P20			.EQU                0
                                           _P23			.EQU                3
                                           _P22			.EQU                2
                                           _P21			.EQU                1
                                           _P20			.EQU                0
                                           
                                           ;  07H  P1   Bits-------------------------------------
                                           P17			.EQU                7
                                           P16			.EQU                6
                                           P15			.EQU                5
                                           P14			.EQU                4
                                           P13			.EQU                3
                                           P12			.EQU                2
                                           P11			.EQU                1
                                           P10			.EQU                0
                                           _P17			.EQU                7
                                           _P16			.EQU                6
                                           _P15			.EQU                5
                                           _P14			.EQU                4
                                           _P13			.EQU                3
                                           _P12			.EQU                2
                                           _P11			.EQU                1
                                           _P10			.EQU                0
                                           
                                           ;  0AH  PCH   Bits-------------------------------------
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIE			.EQU                7
                                           PUIE			.EQU                6
                                           T0IE			.EQU                5
                                           INT0IE			.EQU                4
                                           P0IE			.EQU                3
                                           T0IF			.EQU                2
                                           INT0IF			.EQU                1
                                           P0IF			.EQU                0
                                           _AIE			.EQU                7
                                           _PUIE			.EQU                6
                                           _T0IE			.EQU                5
                                           _INT0IE			.EQU                4
                                           _P0IE			.EQU                3
                                           _T0IF			.EQU                2
                                           _INT0IF			.EQU                1
                                           _P0IF			.EQU                0
                                           
                                           ;  0BH  INTCTL   Bits-------------------------------------
                                           AIEH			.EQU                7
                                           AIEL			.EQU                6
                                           _AIEH			.EQU                7
                                           _AIEL			.EQU                6
                                           
                                           ;  0CH  EIF1   Bits-------------------------------------
                                           ADIF			.EQU                6
                                           INT2IF			.EQU                5
                                           INT1IF			.EQU                4
                                           PWM2IF			.EQU                2
                                           T1IF			.EQU                0
                                           _ADIF			.EQU                6
                                           _INT2IF			.EQU                5
                                           _INT1IF			.EQU                4
                                           _PWM2IF			.EQU                2
                                           _T1IF			.EQU                0
                                           
                                           ;  0DH  EIF2   Bits-------------------------------------
                                           T3IF			.EQU                7
                                           BCLIF			.EQU                1
                                           SSCIIF			.EQU                0
                                           _T3IF			.EQU                7
                                           _BCLIF			.EQU                1
                                           _SSCIIF			.EQU                0
                                           
                                           ;  10H  T1CTL   Bits-------------------------------------
                                           T1RLD			.EQU                7
                                           T1GC			.EQU                6
                                           T1CKS1			.EQU                5
                                           T1CKS0			.EQU                4
                                           T1OSCEN			.EQU                3
                                           T1SY			.EQU                2
                                           T1CS			.EQU                1
                                           T1ON			.EQU                0
                                           _T1RLD			.EQU                7
                                           _T1GC			.EQU                6
                                           _T1CKS1			.EQU                5
                                           _T1CKS0			.EQU                4
                                           _T1OSCEN		.EQU                3
                                           _T1SY			.EQU                2
                                           _T1CS			.EQU                1
                                           _T1ON			.EQU                0
                                           
                                           ;  15H  PWMCTL   Bits-------------------------------------
                                           PWM2ON			.EQU                4
                                           PWM1ON			.EQU                0
                                           _PWM2ON			.EQU                4
                                           _PWM1ON			.EQU                0
                                           
                                           ;  17H  BANK   Bits-------------------------------------
                                           PR3			.EQU                3
                                           PR2			.EQU                2
                                           PR1			.EQU                1
                                           PR0			.EQU                0
                                           _PR3			.EQU                3
                                           _PR2			.EQU                2
                                           _PR1			.EQU                1
                                           _PR0			.EQU                0
                                           
                                           ;  18H  ADSCANCTL   Bits-------------------------------------
                                           ADSCANEN		.EQU                7
                                           SMOD1			.EQU                6
                                           SMOD0			.EQU                5
                                           STIM4			.EQU                4
                                           STIM3			.EQU                3
                                           STIM2			.EQU                2
                                           STIM1			.EQU                1
                                           STIM0			.EQU                0
                                           _ADSCANEN		.EQU                7
                                           _SMOD1			.EQU                6
                                           _SMOD0			.EQU                5
                                           _STIM4			.EQU                4
                                           _STIM3			.EQU                3
                                           _STIM2			.EQU                2
                                           _STIM1			.EQU                1
                                           _STIM0			.EQU                0
                                           
                                           ;  1AH  VDACS   Bits-------------------------------------
                                           VCEN			.EQU                6
                                           _VCEN			.EQU                6
                                           
                                           ;  1DH  ANSEH   Bits-------------------------------------
                                           SSCIPIN			.EQU                7
                                           ANS13			.EQU                5
                                           ANS12			.EQU                4
                                           ANS11			.EQU                3
                                           ANS10			.EQU                2
                                           ANS9			.EQU                1
                                           ANS8			.EQU                0
                                           _SSCIPIN		.EQU                7
                                           _ANS13			.EQU                5
                                           _ANS12			.EQU                4
                                           _ANS11			.EQU                3
                                           _ANS10			.EQU                2
                                           _ANS9			.EQU                1
                                           _ANS8			.EQU                0
                                           
                                           ;  1FH  ADCCTL0   Bits-------------------------------------
                                           ADLR			.EQU                7
                                           CHS3			.EQU                5
                                           CHS2			.EQU                4
                                           CHS1			.EQU                3
                                           CHS0			.EQU                2
                                           START			.EQU                1
                                           ADEN			.EQU                0
                                           _ADLR			.EQU                7
                                           _CHS3			.EQU                5
                                           _CHS2			.EQU                4
                                           _CHS1			.EQU                3
                                           _CHS0			.EQU                2
                                           _START			.EQU                1
                                           _ADEN			.EQU                0
                                           
                                           ;  21H  OPTR   Bits-------------------------------------
                                           PUPH			.EQU                7
                                           INT0SE			.EQU                6
                                           T0CS			.EQU                5
                                           T0SE			.EQU                4
                                           PSA			.EQU                3
                                           PS2			.EQU                2
                                           PS1			.EQU                1
                                           PS0			.EQU                0
                                           _PUPH			.EQU                7
                                           _INT0SE			.EQU                6
                                           _T0CS			.EQU                5
                                           _T0SE			.EQU                4
                                           _PSA			.EQU                3
                                           _PS2			.EQU                2
                                           _PS1			.EQU                1
                                           _PS0			.EQU                0
                                           
                                           ;  22H  IP0   Bits-------------------------------------
                                           PT0			.EQU                2
                                           PINT0			.EQU                1
                                           PP0			.EQU                0
                                           _PT0			.EQU                2
                                           _PINT0			.EQU                1
                                           _PP0			.EQU                0
                                           
                                           ;  23H  IP1   Bits-------------------------------------
                                           PADC			.EQU                6
                                           PINT2			.EQU                5
                                           PINT1			.EQU                4
                                           PPWM2			.EQU                2
                                           PT1			.EQU                0
                                           _PADC			.EQU                6
                                           _PINT2			.EQU                5
                                           _PINT1			.EQU                4
                                           _PPWM2			.EQU                2
                                           _PT1			.EQU                0
                                           
                                           ;  24H  IP2   Bits-------------------------------------
                                           PT3			.EQU                7
                                           PBCL			.EQU                1
                                           PSSCI			.EQU                0
                                           _PT3			.EQU                7
                                           _PBCL			.EQU                1
                                           _PSSCI			.EQU                0
                                           
                                           ;  25H  TR0   Bits-------------------------------------
                                           TR05			.EQU                5
                                           TR04			.EQU                4
                                           TR03			.EQU                3
                                           TR02			.EQU                2
                                           TR01			.EQU                1
                                           TR00			.EQU                0
                                           _TR05			.EQU                5
                                           _TR04			.EQU                4
                                           _TR03			.EQU                3
                                           _TR02			.EQU                2
                                           _TR01			.EQU                1
                                           _TR00			.EQU                0
                                           
                                           ;  26H  TR2   Bits-------------------------------------
                                           TR23			.EQU                3
                                           TR22			.EQU                2
                                           TR21			.EQU                1
                                           TR20			.EQU                0
                                           _TR23			.EQU                3
                                           _TR22			.EQU                2
                                           _TR21			.EQU                1
                                           _TR20			.EQU                0
                                           
                                           ;  27H  TR1   Bits-------------------------------------
                                           TR17			.EQU                7
                                           TR16			.EQU                6
                                           TR15			.EQU                5
                                           TR14			.EQU                4
                                           TR13			.EQU                3
                                           TR12			.EQU                2
                                           TR11			.EQU                1
                                           TR10			.EQU                0
                                           _TR17			.EQU                7
                                           _TR16			.EQU                6
                                           _TR15			.EQU                5
                                           _TR14			.EQU                4
                                           _TR13			.EQU                3
                                           _TR12			.EQU                2
                                           _TR11			.EQU                1
                                           _TR10			.EQU                0
                                           
                                           ;  28H  OSCSTA   Bits-------------------------------------
                                           OSTS			.EQU                6
                                           HTS			.EQU                5
                                           LTS			.EQU                4
                                           SCF1			.EQU                1
                                           SCF0			.EQU                0
                                           _OSTS			.EQU                6
                                           _HTS			.EQU                5
                                           _LTS			.EQU                4
                                           _SCF1			.EQU                1
                                           _SCF0			.EQU                0
                                           
                                           ;  29H  IP3   Bits-------------------------------------
                                           PT4			.EQU                7
                                           POSCFAIL		.EQU                5
                                           _PT4			.EQU                7
                                           _POSCFAIL		.EQU                5
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VRESEL1			.EQU                7
                                           VRESEL0			.EQU                6
                                           VRECALEN		.EQU                5
                                           VRECKEN			.EQU                4
                                           VREOE			.EQU                3
                                           VREEN			.EQU                1
                                           LPREN			.EQU                0
                                           _VRESEL1		.EQU                7
                                           _VRESEL0		.EQU                6
                                           _VRECALEN		.EQU                5
                                           _VRECKEN		.EQU                4
                                           _VREOE			.EQU                3
                                           _VREEN			.EQU                1
                                           _LPREN			.EQU                0
                                           
                                           ;  2BH  VRECTL   Bits-------------------------------------
                                           VREBG			.EQU                4
                                           _VREBG			.EQU                4
                                           
                                           ;  2CH  EIE1   Bits-------------------------------------
                                           ADIE			.EQU                6
                                           INT2IE			.EQU                5
                                           INT1IE			.EQU                4
                                           PWM2IE			.EQU                2
                                           T1IE			.EQU                0
                                           _ADIE			.EQU                6
                                           _INT2IE			.EQU                5
                                           _INT1IE			.EQU                4
                                           _PWM2IE			.EQU                2
                                           _T1IE			.EQU                0
                                           
                                           ;  2DH  EIE2   Bits-------------------------------------
                                           T3IE			.EQU                7
                                           BCLIE			.EQU                1
                                           SSCIIE			.EQU                0
                                           _T3IE			.EQU                7
                                           _BCLIE			.EQU                1
                                           _SSCIIE			.EQU                0
                                           
                                           ;  2EH  PCTL   Bits-------------------------------------
                                           SLVREN			.EQU                4
                                           IPEN			.EQU                3
                                           SWDTEN			.EQU                2
                                           POR			.EQU                1
                                           LVR			.EQU                0
                                           _SLVREN			.EQU                4
                                           _IPEN			.EQU                3
                                           _SWDTEN			.EQU                2
                                           _POR			.EQU                1
                                           _LVR			.EQU                0
                                           
                                           ;  2FH  OSCCTL   Bits-------------------------------------
                                           CLKOE			.EQU                7
                                           IRCS2			.EQU                6
                                           IRCS1			.EQU                5
                                           IRCS0			.EQU                4
                                           SCS1			.EQU                3
                                           SCS0			.EQU                2
                                           IESO			.EQU                1
                                           FSCM			.EQU                0
                                           _CLKOE			.EQU                7
                                           _IRCS2			.EQU                6
                                           _IRCS1			.EQU                5
                                           _IRCS0			.EQU                4
                                           _SCS1			.EQU                3
                                           _SCS0			.EQU                2
                                           _IESO			.EQU                1
                                           _FSCM			.EQU                0
                                           
                                           ;  31H  ANSEL   Bits-------------------------------------
                                           ANS7			.EQU                7
                                           ANS6			.EQU                6
                                           ANS5			.EQU                5
                                           ANS4			.EQU                4
                                           ANS3			.EQU                3
                                           ANS2			.EQU                2
                                           ANS1			.EQU                1
                                           ANS0			.EQU                0
                                           _ANS7			.EQU                7
                                           _ANS6			.EQU                6
                                           _ANS5			.EQU                5
                                           _ANS4			.EQU                4
                                           _ANS3			.EQU                3
                                           _ANS2			.EQU                2
                                           _ANS1			.EQU                1
                                           _ANS0			.EQU                0
                                           
                                           ;  35H  PUR0   Bits-------------------------------------
                                           PUR05			.EQU                5
                                           PUR04			.EQU                4
                                           PUR02			.EQU                2
                                           PUR01			.EQU                1
                                           PUR00			.EQU                0
                                           _PUR05			.EQU                5
                                           _PUR04			.EQU                4
                                           _PUR02			.EQU                2
                                           _PUR01			.EQU                1
                                           _PUR00			.EQU                0
                                           
                                           ;  36H  IOCL   Bits-------------------------------------
                                           IOCL5			.EQU                5
                                           IOCL4			.EQU                4
                                           IOCL3			.EQU                3
                                           IOCL2			.EQU                2
                                           IOCL1			.EQU                1
                                           IOCL0			.EQU                0
                                           _IOCL5			.EQU                5
                                           _IOCL4			.EQU                4
                                           _IOCL3			.EQU                3
                                           _IOCL2			.EQU                2
                                           _IOCL1			.EQU                1
                                           _IOCL0			.EQU                0
                                           
                                           ;  3FH  ADCCTL1   Bits-------------------------------------
                                           ADCALEN			.EQU                7
                                           ADCS2			.EQU                6
                                           ADCS1			.EQU                5
                                           ADCS0			.EQU                4
                                           VCFG1			.EQU                3
                                           VCFG0			.EQU                2
                                           ADCIM			.EQU                0
                                           _ADCALEN		.EQU                7
                                           _ADCS2			.EQU                6
                                           _ADCS1			.EQU                5
                                           _ADCS0			.EQU                4
                                           _VCFG1			.EQU                3
                                           _VCFG0			.EQU                2
                                           _ADCIM			.EQU                0
                                           
                                           ;  45H  P0LR   Bits-------------------------------------
                                           P0LR5			.EQU                5
                                           P0LR4			.EQU                4
                                           P0LR2			.EQU                2
                                           P0LR1			.EQU                1
                                           P0LR0			.EQU                0
                                           _P0LR5			.EQU                5
                                           _P0LR4			.EQU                4
                                           _P0LR2			.EQU                2
                                           _P0LR1			.EQU                1
                                           _P0LR0			.EQU                0
                                           
                                           ;  46H  P2LR   Bits-------------------------------------
                                           P2LR3			.EQU                3
                                           P2LR2			.EQU                2
                                           P2LR1			.EQU                1
                                           P2LR0			.EQU                0
                                           _P2LR3			.EQU                3
                                           _P2LR2			.EQU                2
                                           _P2LR1			.EQU                1
                                           _P2LR0			.EQU                0
                                           
                                           ;  47H  P1LR   Bits-------------------------------------
                                           P1LR7			.EQU                7
                                           P1LR6			.EQU                6
                                           P1LR5			.EQU                5
                                           P1LR4			.EQU                4
                                           P1LR3			.EQU                3
                                           P1LR2			.EQU                2
                                           P1LR1			.EQU                1
                                           P1LR0			.EQU                0
                                           _P1LR7			.EQU                7
                                           _P1LR6			.EQU                6
                                           _P1LR5			.EQU                5
                                           _P1LR4			.EQU                4
                                           _P1LR3			.EQU                3
                                           _P1LR2			.EQU                2
                                           _P1LR1			.EQU                1
                                           _P1LR0			.EQU                0
                                           
                                           ;  4AH  EIE3   Bits-------------------------------------
                                           T4IE			.EQU                7
                                           OSCFAILIE		.EQU                5
                                           _T4IE			.EQU                7
                                           _OSCFAILIE		.EQU                5
                                           
                                           ;  4BH  EIF3   Bits-------------------------------------
                                           T4IF			.EQU                7
                                           OSCFAILIF		.EQU                5
                                           _T4IF			.EQU                7
                                           _OSCFAILIF		.EQU                5
                                           
                                           ;  4EH  T3CTL   Bits-------------------------------------
                                           T3EN			.EQU                7
                                           T3CKS1			.EQU                6
                                           T3CKS0			.EQU                5
                                           T3CS			.EQU                4
                                           PWMS			.EQU                3
                                           _T3EN			.EQU                7
                                           _T3CKS1			.EQU                6
                                           _T3CKS0			.EQU                5
                                           _T3CS			.EQU                4
                                           _PWMS			.EQU                3
                                           
                                           ;  53H  CTCTL0   Bits-------------------------------------
                                           CTEN			.EQU                7
                                           CTSTART			.EQU                6
                                           T3CLR			.EQU                5
                                           CTCHSEL4		.EQU                4
                                           CTCHSEL3		.EQU                3
                                           CTCHSEL2		.EQU                2
                                           CTCHSEL1		.EQU                1
                                           CTCHSEL0		.EQU                0
                                           _CTEN			.EQU                7
                                           _CTSTART		.EQU                6
                                           _T3CLR			.EQU                5
                                           _CTCHSEL4		.EQU                4
                                           _CTCHSEL3		.EQU                3
                                           _CTCHSEL2		.EQU                2
                                           _CTCHSEL1		.EQU                1
                                           _CTCHSEL0		.EQU                0
                                           
                                           ;  58H  ADCINTCTL   Bits-------------------------------------
                                           INTCTL1			.EQU                1
                                           INTCTL0			.EQU                0
                                           _INTCTL1		.EQU                1
                                           _INTCTL0		.EQU                0
                                           
                                           ;  60H  PUR1   Bits-------------------------------------
                                           PUR17			.EQU                7
                                           PUR16			.EQU                6
                                           PUR15			.EQU                5
                                           PUR14			.EQU                4
                                           PUR13			.EQU                3
                                           PUR12			.EQU                2
                                           PUR11			.EQU                1
                                           PUR10			.EQU                0
                                           _PUR17			.EQU                7
                                           _PUR16			.EQU                6
                                           _PUR15			.EQU                5
                                           _PUR14			.EQU                4
                                           _PUR13			.EQU                3
                                           _PUR12			.EQU                2
                                           _PUR11			.EQU                1
                                           _PUR10			.EQU                0
                                           
                                           ;  61H  PUR2   Bits-------------------------------------
                                           PUR23			.EQU                3
                                           PUR22			.EQU                2
                                           PUR21			.EQU                1
                                           PUR20			.EQU                0
                                           _PUR23			.EQU                3
                                           _PUR22			.EQU                2
                                           _PUR21			.EQU                1
                                           _PUR20			.EQU                0
                                           
                                           ;  64H  CTCTL1   Bits-------------------------------------
                                           CTCLKSEL1		.EQU                7
                                           CTCLKSEL0		.EQU                6
                                           PRSGEN			.EQU                5
                                           PRSGM1			.EQU                4
                                           PRSGM0			.EQU                3
                                           PRSGSTA			.EQU                2
                                           VSEL			.EQU                0
                                           _CTCLKSEL1		.EQU                7
                                           _CTCLKSEL0		.EQU                6
                                           _PRSGEN			.EQU                5
                                           _PRSGM1			.EQU                4
                                           _PRSGM0			.EQU                3
                                           _PRSGSTA		.EQU                2
                                           _VSEL			.EQU                0
                                           
                                           ;  67H  INTEDGCTL   Bits-------------------------------------
                                           INT2SE			.EQU                7
                                           INT1SE			.EQU                6
                                           T1CLKEN			.EQU                0
                                           _INT2SE			.EQU                7
                                           _INT1SE			.EQU                6
                                           _T1CLKEN		.EQU                0
                                           
                                           ;  112H  VDAC   Bits-------------------------------------
                                           VDAC3			.EQU                7
                                           VDAC2			.EQU                6
                                           VDAC1			.EQU                5
                                           VDAC0			.EQU                4
                                           _VDAC3			.EQU                7
                                           _VDAC2			.EQU                6
                                           _VDAC1			.EQU                5
                                           _VDAC0			.EQU                4
                                           
                                           ;  113H  VRES   Bits-------------------------------------
                                           VRES3			.EQU                7
                                           VRES2			.EQU                6
                                           VRES1			.EQU                5
                                           VRES0			.EQU                4
                                           _VRES3			.EQU                7
                                           _VRES2			.EQU                6
                                           _VRES1			.EQU                5
                                           _VRES0			.EQU                4
                                           
                                           ;  128H  SSCICTL0   Bits-------------------------------------
                                           SSCIWCFL		.EQU                7
                                           SSCIOV			.EQU                6
                                           SSCIEN			.EQU                5
                                           SSCICKP			.EQU                4
                                           SSCIMOD3		.EQU                3
                                           SSCIMOD2		.EQU                2
                                           SSCIMOD1		.EQU                1
                                           SSCIMOD0		.EQU                0
                                           _SSCIWCFL		.EQU                7
                                           _SSCIOV			.EQU                6
                                           _SSCIEN			.EQU                5
                                           _SSCICKP		.EQU                4
                                           _SSCIMOD3		.EQU                3
                                           _SSCIMOD2		.EQU                2
                                           _SSCIMOD1		.EQU                1
                                           _SSCIMOD0		.EQU                0
                                           
                                           ;  12AH  SSCICTL1   Bits-------------------------------------
                                           SSCICALLEN		.EQU                7
                                           SSCIACKSTA		.EQU                6
                                           SSCIACKDAT		.EQU                5
                                           SSCIACKEN		.EQU                4
                                           SSCIRCEN		.EQU                3
                                           STOPEN			.EQU                2
                                           RESTARTEN		.EQU                1
                                           STARTEN			.EQU                0
                                           _SSCICALLEN		.EQU                7
                                           _SSCIACKSTA		.EQU                6
                                           _SSCIACKDAT		.EQU                5
                                           _SSCIACKEN		.EQU                4
                                           _SSCIRCEN		.EQU                3
                                           _STOPEN			.EQU                2
                                           _RESTARTEN		.EQU                1
                                           _STARTEN		.EQU                0
                                           
                                           ;  12BH  SSCISTA   Bits-------------------------------------
                                           SSCIDA			.EQU                5
                                           SSCISTOP		.EQU                4
                                           SSCISTART		.EQU                3
                                           SSCIRW			.EQU                2
                                           SSCIUA			.EQU                1
                                           SSCIBUF			.EQU                0
                                           _SSCIDA			.EQU                5
                                           _SSCISTOP		.EQU                4
                                           _SSCISTART		.EQU                3
                                           _SSCIRW			.EQU                2
                                           _SSCIUA			.EQU                1
                                           _SSCIBUF		.EQU                0
                                           
                                           ;  12EH  SSCIADD   Bits-------------------------------------
                                           SSCIADD7		.EQU                7
                                           SSCIADD6		.EQU                6
                                           SSCIADD5		.EQU                5
                                           SSCIADD4		.EQU                4
                                           SSCIADD3		.EQU                3
                                           SSCIADD2		.EQU                2
                                           SSCIADD1		.EQU                1
                                           SSCIADD0		.EQU                0
                                           _SSCIADD7		.EQU                7
                                           _SSCIADD6		.EQU                6
                                           _SSCIADD5		.EQU                5
                                           _SSCIADD4		.EQU                4
                                           _SSCIADD3		.EQU                3
                                           _SSCIADD2		.EQU                2
                                           _SSCIADD1		.EQU                1
                                           _SSCIADD0		.EQU                0
                                           
                                           ;  12EH  SSCIMSK   Bits-------------------------------------
                                           SSCIMSK7		.EQU                7
                                           SSCIMSK6		.EQU                6
                                           SSCIMSK5		.EQU                5
                                           SSCIMSK4		.EQU                4
                                           SSCIMSK3		.EQU                3
                                           SSCIMSK2		.EQU                2
                                           SSCIMSK1		.EQU                1
                                           SSCIMSK0		.EQU                0
                                           _SSCIMSK7		.EQU                7
                                           _SSCIMSK6		.EQU                6
                                           _SSCIMSK5		.EQU                5
                                           _SSCIMSK4		.EQU                4
                                           _SSCIMSK3		.EQU                3
                                           _SSCIMSK2		.EQU                2
                                           _SSCIMSK1		.EQU                1
                                           _SSCIMSK0		.EQU                0
                                           
                                           ;  12FH  WDTPS   Bits-------------------------------------
                                           WDTPS3			.EQU                3
                                           WDTPS2			.EQU                2
                                           WDTPS1			.EQU                1
                                           WDTPS0			.EQU                0
                                           _WDTPS3			.EQU                3
                                           _WDTPS2			.EQU                2
                                           _WDTPS1			.EQU                1
                                           _WDTPS0			.EQU                0
                                           
                                           ;  15BH  CTCTL2   Bits-------------------------------------
                                           CTMODE			.EQU                4
                                           RSEL3			.EQU                3
                                           RSEL2			.EQU                2
                                           RSEL1			.EQU                1
                                           RSEL0			.EQU                0
                                           _CTMODE			.EQU                4
                                           _RSEL3			.EQU                3
                                           _RSEL2			.EQU                2
                                           _RSEL1			.EQU                1
                                           _RSEL0			.EQU                0
                                           
                                           ;  164H  T4CTL   Bits-------------------------------------
                                           T4REN			.EQU                7
                                           HSPEN			.EQU                6
                                           T4CKS1			.EQU                5
                                           T4CKS0			.EQU                4
                                           LSPEN			.EQU                3
                                           T4CS1			.EQU                2
                                           T4CS0			.EQU                1
                                           T4ON			.EQU                0
                                           _T4REN			.EQU                7
                                           _HSPEN			.EQU                6
                                           _T4CKS1			.EQU                5
                                           _T4CKS0			.EQU                4
                                           _LSPEN			.EQU                3
                                           _T4CS1			.EQU                2
                                           _T4CS0			.EQU                1
                                           _T4ON			.EQU                0
                                           ;************************************************************
                                           ;       Header file for the KungFu8 END
                                           ;       KF8TS2508
                                           ;       Microcontroller
                                           ;
                                           ;       Copyright 2012-2020 ChipON, All rights reserved
                                           ;************************************************************
                                           ;--------------------------------------------------------
                                           ; external declarations
                                           ;--------------------------------------------------------
                                           	.extern	_init_mcu
                                           	.extern	_Pmw1InitFun
                                           	.extern	_T0InitFun
                                           	.extern	__KF8spts2w_LIBf_init_touch_
                                           	.extern	__KF8spts2w_LIBf_touch_process_
                                           	.extern	__KF8spts2w_Lib_SET_MCU_Parameter
                                           	.extern	_read_data_eep_ts2w_
                                           	.extern	_write_eep_ts2w_
                                           	.extern	__R2PCL
                                           	.extern	_TOUCH_DEBUG_TRS_DEAL
                                           	.extern	_TOUCH_DEBUG_TRS_BAIHUALV
                                           	.extern	_TOUCH_DEBUG_SEND_OUT
                                           	.extern	__divulong
                                           	.extern	_PSW_bits
                                           	.extern	_P0_bits
                                           	.extern	_P2_bits
                                           	.extern	_P1_bits
                                           	.extern	_PCH_bits
                                           	.extern	_INTCTL_bits
                                           	.extern	_EIF1_bits
                                           	.extern	_EIF2_bits
                                           	.extern	_T1CTL_bits
                                           	.extern	_PWMCTL_bits
                                           	.extern	_BANK_bits
                                           	.extern	_ADSCANCTL_bits
                                           	.extern	_VDACS_bits
                                           	.extern	_ANSEH_bits
                                           	.extern	_ADCCTL0_bits
                                           	.extern	_OPTR_bits
                                           	.extern	_IP0_bits
                                           	.extern	_IP1_bits
                                           	.extern	_IP2_bits
                                           	.extern	_TR0_bits
                                           	.extern	_TR2_bits
                                           	.extern	_TR1_bits
                                           	.extern	_OSCSTA_bits
                                           	.extern	_IP3_bits
                                           	.extern	_VRECTL_bits
                                           	.extern	_EIE1_bits
                                           	.extern	_EIE2_bits
                                           	.extern	_PCTL_bits
                                           	.extern	_OSCCTL_bits
                                           	.extern	_ANSEL_bits
                                           	.extern	_PUR0_bits
                                           	.extern	_IOCL_bits
                                           	.extern	_ADCCTL1_bits
                                           	.extern	_P0LR_bits
                                           	.extern	_P2LR_bits
                                           	.extern	_P1LR_bits
                                           	.extern	_EIE3_bits
                                           	.extern	_EIF3_bits
                                           	.extern	_T3CTL_bits
                                           	.extern	_CTCTL0_bits
                                           	.extern	_ADCINTCTL_bits
                                           	.extern	_PUR1_bits
                                           	.extern	_PUR2_bits
                                           	.extern	_CTCTL1_bits
                                           	.extern	_INTEDGCTL_bits
                                           	.extern	_VDAC_bits
                                           	.extern	_VRES_bits
                                           	.extern	_SSCICTL0_bits
                                           	.extern	_SSCICTL1_bits
                                           	.extern	_SSCISTA_bits
                                           	.extern	_SSCIADD_bits
                                           	.extern	_SSCIMSK_bits
                                           	.extern	_WDTPS_bits
                                           	.extern	_CTCTL2_bits
                                           	.extern	_T4CTL_bits
                                           	.extern	__KF8_Disturb_Protect_Circle_
                                           	.extern	__KF8_Up_BaseLine_Circle_
                                           	.extern	__KF8_LIBi_channel_flag_
                                           	.extern	__KF8_LIBi_Date_Change_
                                           	.extern	__KF8_LIBc_channel_
                                           	.extern	__KF8_LIBi_buff_hit_
                                           	.extern	__KF8_LIBi_buff_baseline_
                                           	.extern	__KF8_LIBi_buff_refline_
                                           	.extern	__KF8_LIBc_touch_count_
                                           	.extern	_Arr_erom_TS2W_
                                           	.extern	_sentbuf1
                                           	.extern	_sentbuf2
                                           	.extern	_sentbuf3
                                           	.extern	_sentbuf4
                                           	.extern	_Flag
                                           	.extern	_AlarmFlag
                                           	.extern	_CurrentAdjustNum
                                           	.extern	_KeyDownNum
                                           	.extern	_Time20MScnt
                                           	.extern	_V_NoWatercnt
                                           	.extern	_AdjustOvercnt
                                           	.extern	_NoWaterTimecnt
                                           	.extern	_main_cnt
                                           	.extern	_SubNum
                                           	.extern	_AD_temp_V
                                           	.extern	_AD_temp_I
                                           	.extern	_AD_V
                                           	.extern	_AD_I
                                           	.extern	_AD_cnt
                                           	.extern	_Power
                                           	.extern	_LEDFre
                                           	.extern	_CurrentShortCnt
                                           	.extern	_I_NoWatercnt
                                           	.extern	_cnt
                                           	.extern	_keycnt
                                           	.extern	_keycnttime
                                           	.extern	_CHS_AMOUNT
                                           	.extern	_TCS_AMOUNT
                                           	.extern	__KF8_Inside_Reference_Channel_Disturb_Threshold_Set_
                                           	.extern	__KF8_Disturb_Protect_Circle_Define
                                           	.extern	__KF8_Up_BaseLine_Circle_Define
                                           	.extern	__KF8_Inside_Reference_Channel_Order
                                           	.extern	__KF8_Config_Finger_Threshold
                                           	.extern	_CONFIG_NO_FINGER_THRESHOLD
                                           	.extern	__KF8_TOUCH_CH_EN
                                           	.extern	_T0
                                           	.extern	_PCL
                                           	.extern	_PSW
                                           	.extern	_P0
                                           	.extern	_P2
                                           	.extern	_P1
                                           	.extern	_PCH
                                           	.extern	_INTCTL
                                           	.extern	_EIF1
                                           	.extern	_EIF2
                                           	.extern	_T1L
                                           	.extern	_T1H
                                           	.extern	_T1CTL
                                           	.extern	_PWM1L
                                           	.extern	_PWMCTL
                                           	.extern	_PP1
                                           	.extern	_BANK
                                           	.extern	_ADSCANCTL
                                           	.extern	_VDACS
                                           	.extern	_ANSEH
                                           	.extern	_ADCDATA0H
                                           	.extern	_ADCCTL0
                                           	.extern	_OPTR
                                           	.extern	_IP0
                                           	.extern	_IP1
                                           	.extern	_IP2
                                           	.extern	_TR0
                                           	.extern	_TR2
                                           	.extern	_TR1
                                           	.extern	_OSCSTA
                                           	.extern	_IP3
                                           	.extern	_VRECAL1
                                           	.extern	_VRECTL
                                           	.extern	_EIE1
                                           	.extern	_EIE2
                                           	.extern	_PCTL
                                           	.extern	_OSCCTL
                                           	.extern	_OSCCAL0
                                           	.extern	_ANSEL
                                           	.extern	_PP2
                                           	.extern	_PWM2L
                                           	.extern	_PUR0
                                           	.extern	_IOCL
                                           	.extern	_OSCCAL1
                                           	.extern	_NVMDATAH
                                           	.extern	_NVMDATAL
                                           	.extern	_NVMADDRH
                                           	.extern	_NVMADDRL
                                           	.extern	_NVMCTL0
                                           	.extern	_NVMCTL1
                                           	.extern	_ADCDATA0L
                                           	.extern	_ADCCTL1
                                           	.extern	_P0LR
                                           	.extern	_P2LR
                                           	.extern	_P1LR
                                           	.extern	_EIE3
                                           	.extern	_EIF3
                                           	.extern	_OSCCAL2
                                           	.extern	_OSCCAL3
                                           	.extern	_T3CTL
                                           	.extern	_T3L
                                           	.extern	_ADCDATA1H
                                           	.extern	_ADCDATA1L
                                           	.extern	_CTCTL0
                                           	.extern	_ADCINTCTL
                                           	.extern	_ADCDATA2H
                                           	.extern	_ADCDATA2L
                                           	.extern	_ADCDATA3H
                                           	.extern	_T3H
                                           	.extern	_PUR1
                                           	.extern	_PUR2
                                           	.extern	_CTCTL1
                                           	.extern	_INTEDGCTL
                                           	.extern	_ADCDATA3L
                                           	.extern	_VDAC
                                           	.extern	_VRES
                                           	.extern	_SSCICTL0
                                           	.extern	_SSCICTL1
                                           	.extern	_SSCISTA
                                           	.extern	_SSCIBUFR
                                           	.extern	_SSCIADD
                                           	.extern	_SSCIMSK
                                           	.extern	_WDTPS
                                           	.extern	_VRECAL2
                                           	.extern	_VRECAL3
                                           	.extern	_CTCTL2
                                           	.extern	_T4L
                                           	.extern	_T4H
                                           	.extern	_T4REL
                                           	.extern	_T4REH
                                           	.extern	_T4CTL
                                           	.extern	_RC32KCAL
                                           	.extern	_startup
                                           	.extern	__gsinit_startup
                                           ;--------------------------------------------------------
                                           ; global declarations
                                           ;--------------------------------------------------------
                                           	.global	_delay_us
                                           	.global	_delay_ms
                                           	.global	_AdjustFun
                                           	.global	_INT_FUN
                                           	.global	_Water_Judge
                                           	.global	_Init_ram
                                           	.global	_Init_data
                                           	.global	_KeyFun
                                           	.global	_ADCRead
                                           	.global	_main
                                           	.global	_touch_process_flag
                                           	.global	_Touch_Watch
                                           	.global	_NEED_CAL_IN_LINE
                                           
                                           	.global I0R1
                                           	.global I0R7
                                           	.global I0PSW
                                           	.global I0PCH
                                           	.global I1R1
                                           	.global I1R7
                                           	.global I1PSW
                                           	.global I1PCH
                                           	.global STK11
                                           	.global STK10
                                           	.global STK09
                                           	.global STK08
                                           	.global STK07
                                           	.global STK06
                                           	.global STK05
                                           	.global STK04
                                           	.global STK03
                                           	.global STK02
                                           	.global STK01
                                           	.global STK00
                                           
                                           sharebank .udata
                                           I0R1		.res 1
                                           I0R7		.res 1
                                           I0PSW		.res 1
                                           I0PCH		.res 1
                                           I1R1		.res 1
                                           I1R7		.res 1
                                           I1PSW		.res 1
                                           I1PCH		.res 1
                                           STK11	.res 1
                                           	.type STK11, 108
                                           STK10	.res 1
                                           	.type STK10, 108
                                           STK09	.res 1
                                           	.type STK09, 108
                                           STK08	.res 1
                                           	.type STK08, 108
                                           STK07	.res 1
                                           	.type STK07, 108
                                           STK06	.res 1
                                           	.type STK06, 108
                                           STK05	.res 1
                                           	.type STK05, 108
                                           STK04	.res 1
                                           	.type STK04, 108
                                           STK03	.res 1
                                           	.type STK03, 108
                                           STK02	.res 1
                                           	.type STK02, 108
                                           STK01	.res 1
                                           	.type STK01, 108
                                           STK00	.res 1
                                           	.type STK00, 108
                                           
                                           ;--------------------------------------------------------
                                           ; global definitions
                                           ;--------------------------------------------------------
                                           UD_main_0	.udata
                                           _touch_process_flag	.res	1
                                           
                                           UD_main_1	.udata
                                           _Touch_Watch	.res	2
                                           
                                           UD_main_2	.udata
                                           _NEED_CAL_IN_LINE	.res	1
                                           
                                           ;--------------------------------------------------------
                                           ; absolute symbol definitions
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; compiler-defined variables
                                           ;--------------------------------------------------------
                                           UDL_main_0	.udata
                                           r0x1056	.res	1
                                           UDL_main_1	.udata
                                           r0x1057	.res	1
                                           UDL_main_2	.udata
                                           r0x1058	.res	1
                                           UDL_main_3	.udata
                                           r0x1059	.res	1
                                           UDL_main_4	.udata
                                           r0x105A	.res	1
                                           UDL_main_5	.udata
                                           r0x105B	.res	1
                                           UDL_main_6	.udata
                                           r0x105D	.res	1
                                           UDL_main_7	.udata
                                           r0x105C	.res	1
                                           UDL_main_8	.udata
                                           r0x105F	.res	1
                                           UDL_main_9	.udata
                                           r0x105E	.res	1
                                           UDL_main_10	.udata
                                           r0x1060	.res	1
                                           UDL_main_11	.udata
                                           r0x1061	.res	1
                                           UDL_main_12	.udata
                                           r0x1062	.res	1
                                           UDL_main_13	.udata
                                           r0x1063	.res	1
                                           UDL_main_14	.udata
                                           r0x1064	.res	1
                                           ;--------------------------------------------------------
                                           ; initialized data
                                           ;--------------------------------------------------------
                                           ;--------------------------------------------------------
                                           ; overlayable items in internal ram 
                                           ;--------------------------------------------------------
                                           ;	.udata_ovr
                                           ;--------------------------------------------------------
                                           ; reset vector 
                                           ;--------------------------------------------------------
                                           STARTUP	.code 0x0000
000000   0000     NOP                      	NOP
                                           	PAGESEL	init_imp
000001   cbf3     JMP	#0xbf3               	JMP		init_imp
                                           
                                           	.global	init_imp
                                           INIT_IMP	.code
                                           init_imp
                                           	PAGESEL	_startup
000bf3   db28     CALL	#0xb28              	CALL	_startup
                                           	PAGESEL	__gsinit_startup
000bf4   dbec     CALL	#0xbec              	CALL	__gsinit_startup
                                           	PAGESEL	_main
000bf5   c248     JMP	#0x248               	JMP		_main
                                           ;--------------------------------------------------------
                                           ; interrupt and initialization code
                                           ;--------------------------------------------------------
                                           interrupt_0x04	.code	0x4
000004   f8c2     MOV	R2, R0               	MOV		R2,R0
000005   5617     MOV	R3, 0x17             	MOV		R3,BANK
000006   5003     MOV	R0, 0x3              	MOV		R0,PSW
000007   e101     MOVB	0x1                 	BANKSEL	I0PSW
000008   5182     MOV	0x82, R0             	MOV		I0PSW,R0
000009   500a     MOV	R0, 0xa              	MOV		R0,PCH
00000a   e101     MOVB	0x1                 	BANKSEL	I0PCH
00000b   5183     MOV	0x83, R0             	MOV		I0PCH,R0
00000c   5380     MOV	0x80, R1             	MOV		I0R1,R1
00000d   5f81     MOV	0x81, R7             	MOV		I0R7,R7
                                           	PAGESEL	interrupt_service_routine_0x04
00000e   c79f     JMP	#0x79f               	JMP		interrupt_service_routine_0x04
                                           
                                           
                                           
                                           func._INT_FUN	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = I
                                           ;***
                                           ;entry:  _INT_FUN	;Function start
                                           ; 0 exit points
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _INT_FUN	;Function start
                                           ; 0 exit points
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ; R3 resprent for wsave,R4 resprent for ssave, R5 resprent for psave
                                           interrupt_service_routine_0x04
                                           ;	.line	107; "../main.c"	if(T0IF)
00079f   e100     MOVB	0                   	BANKSEL	_INTCTL_bits
0007a0   7a0b     JB	0xb, 2                	JB	_INTCTL_bits, 2
0007a1   c7f7     JMP	#0x7f7               	JMP	_00302_DS_
                                           ;	op : =
                                           ;	.line	109; "../main.c"	T0IF = 0;
                                           	BANKSEL	_INTCTL_bits
0007a2   620b     CLR	0xb, 2               	CLR	_INTCTL_bits, 2
                                           ;	op : =
                                           ;	.line	110; "../main.c"	T0 = T0_MAX;
0007a3   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	BANKSEL	_T0
0007a4   5101     MOV	0x1, R0              	MOV	_T0, R0
                                           ;	op : <
                                           ;unsigned compare: left < lit(0xFA=250), size=1
                                           ;	.line	111; "../main.c"	if(main_cnt<250)main_cnt++;
0007a5   98fa     MOV	R0, #0xfa            	MOV	R0,# 0xfa
                                           ;	.line	113; "../main.c"	Time20MScnt++;
                                           	BANKSEL	_main_cnt
0007a6   38b6     SUB	R0, 0xb6             	SUB	R0, _main_cnt
0007a7   7003     JNB	0x3, 0               	JNB	PSW, 0
0007a8   c7aa     JMP	#0x7aa               	JMP	_00298_DS_
                                           	BANKSEL	_main_cnt
0007a9   0bb6     INC	0xb6                 	INC	_main_cnt
                                           _00298_DS_
                                           	BANKSEL	_Time20MScnt
0007aa   0bbb     INC	0xbb                 	INC	_Time20MScnt
                                           ;	.line	114; "../main.c"	if(Time20MScnt>=80)
0007ab   9850     MOV	R0, #0x50            	MOV	R0,# 0x50
                                           	BANKSEL	_Time20MScnt
0007ac   38bb     SUB	R0, 0xbb             	SUB	R0, _Time20MScnt
                                           ;comparing bytes at offset 0
0007ad   7803     JB	0x3, 0                	JB	PSW, 0
0007ae   c7f7     JMP	#0x7f7               	JMP	_00302_DS_
                                           ;	op : =
                                           ;	.line	116; "../main.c"	Time20MScnt=0;
                                           	BANKSEL	_Time20MScnt
0007af   03bb     CLR	0xbb                 	CLR	_Time20MScnt
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	118; "../main.c"	if(KEY)
                                           	BANKSEL	_P0_bits
0007b0   7b05     JB	0x5, 3                	JB	_P0_bits, 3
0007b1   c7ca     JMP	#0x7ca               	JMP	_00077_DS_
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x7D0=2000), size=2
                                           ;	.line	120; "../main.c"	if(KeyDownNum<2000)
0007b2   9807     MOV	R0, #0x7             	MOV	R0,# 0x07
                                           	BANKSEL	_KeyDownNum
0007b3   38d9     SUB	R0, 0xd9             	SUB	R0, (_KeyDownNum + 1)
                                           ;comparing bytes at offset 1
0007b4   7a03     JB	0x3, 2                	JB	PSW, 2
0007b5   c7b8     JMP	#0x7b8               	JMP	_00106_DS_
0007b6   98d0     MOV	R0, #0xd0            	MOV	R0,# 0xd0
                                           	BANKSEL	_KeyDownNum
0007b7   38d8     SUB	R0, 0xd8             	SUB	R0, _KeyDownNum
                                           _00106_DS_
0007b8   7003     JNB	0x3, 0               	JNB	PSW, 0
0007b9   c7be     JMP	#0x7be               	JMP	_00299_DS_
                                           ;	op : +
                                           ;	.line	121; "../main.c"	KeyDownNum++;
                                           	BANKSEL	_KeyDownNum
0007ba   0bd8     INC	0xd8                 	INC	_KeyDownNum
0007bb   7a03     JB	0x3, 2                	JB	PSW, 2
0007bc   c7be     JMP	#0x7be               	JMP	_00299_DS_
                                           	BANKSEL	_KeyDownNum
0007bd   0bd9     INC	0xd9                 	INC	(_KeyDownNum + 1)
                                           ;	op : LABEL
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/3)
                                           ;unsigned compare: left >= lit(0x51=81), size=2
                                           _00299_DS_
                                           ;	.line	122; "../main.c"	if(KeyDownNum>LONG_KEY_MAX && !KeyReadFlag)
0007be   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	_KeyDownNum
0007bf   38d9     SUB	R0, 0xd9             	SUB	R0, (_KeyDownNum + 1)
                                           ;comparing bytes at offset 1
0007c0   7a03     JB	0x3, 2                	JB	PSW, 2
0007c1   c7c4     JMP	#0x7c4               	JMP	_00107_DS_
0007c2   9851     MOV	R0, #0x51            	MOV	R0,# 0x51
                                           	BANKSEL	_KeyDownNum
0007c3   38d8     SUB	R0, 0xd8             	SUB	R0, _KeyDownNum
                                           _00107_DS_
0007c4   7803     JB	0x3, 0                	JB	PSW, 0
0007c5   c7f2     JMP	#0x7f2               	JMP	_00301_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	_Flag
0007c6   74bd     JNB	0xbd, 4              	JNB	_Flag, 4
0007c7   c7f2     JMP	#0x7f2               	JMP	_00301_DS_
                                           ;	op : =
                                           ;	.line	124; "../main.c"	LongKeyFlag=1;
                                           	BANKSEL	_Flag
0007c8   6abd     SET	0xbd, 2              	SET	_Flag, 2
                                           ;	op : GOTO
0007c9   c7f2     JMP	#0x7f2               	JMP	_00301_DS_
                                           ;	op : LABEL
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/3)
                                           ;unsigned compare: left >= lit(0x4=4), size=2
                                           _00077_DS_
                                           ;	.line	129; "../main.c"	if(KeyDownNum>SHORT_KEY_MIN && KeyDownNum<SHORT_KEY_MAX && !KeyReadFlag)
0007ca   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	_KeyDownNum
0007cb   38d9     SUB	R0, 0xd9             	SUB	R0, (_KeyDownNum + 1)
                                           ;comparing bytes at offset 1
0007cc   7a03     JB	0x3, 2                	JB	PSW, 2
0007cd   c7d0     JMP	#0x7d0               	JMP	_00108_DS_
0007ce   9804     MOV	R0, #0x4             	MOV	R0,# 0x04
                                           	BANKSEL	_KeyDownNum
0007cf   38d8     SUB	R0, 0xd8             	SUB	R0, _KeyDownNum
                                           _00108_DS_
0007d0   7803     JB	0x3, 0                	JB	PSW, 0
0007d1   c7e5     JMP	#0x7e5               	JMP	_00069_DS_
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x1E=30), size=2
0007d2   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	_KeyDownNum
0007d3   38d9     SUB	R0, 0xd9             	SUB	R0, (_KeyDownNum + 1)
                                           ;comparing bytes at offset 1
0007d4   7a03     JB	0x3, 2                	JB	PSW, 2
0007d5   c7d8     JMP	#0x7d8               	JMP	_00109_DS_
0007d6   981e     MOV	R0, #0x1e            	MOV	R0,# 0x1e
                                           	BANKSEL	_KeyDownNum
0007d7   38d8     SUB	R0, 0xd8             	SUB	R0, _KeyDownNum
                                           _00109_DS_
0007d8   7003     JNB	0x3, 0               	JNB	PSW, 0
0007d9   c7e5     JMP	#0x7e5               	JMP	_00069_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	_Flag
0007da   74bd     JNB	0xbd, 4              	JNB	_Flag, 4
0007db   c7e5     JMP	#0x7e5               	JMP	_00069_DS_
                                           ;	op : =
                                           ;	.line	131; "../main.c"	ShortKeyFlag=1;
                                           	BANKSEL	_Flag
0007dc   6bbd     SET	0xbd, 3              	SET	_Flag, 3
                                           ;	op : +
                                           ;	.line	132; "../main.c"	keycnt++;
                                           	BANKSEL	_keycnt
0007dd   0bb1     INC	0xb1                 	INC	_keycnt
                                           ;	op : =
                                           ;	.line	133; "../main.c"	keycnttime=0;
                                           	BANKSEL	_keycnttime
0007de   03b0     CLR	0xb0                 	CLR	_keycnttime
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x3=3), size=1
                                           ;	.line	134; "../main.c"	if(keycnt>=3)
0007df   9803     MOV	R0, #0x3             	MOV	R0,# 0x03
                                           	BANKSEL	_keycnt
0007e0   38b1     SUB	R0, 0xb1             	SUB	R0, _keycnt
                                           ;comparing bytes at offset 0
0007e1   7803     JB	0x3, 0                	JB	PSW, 0
0007e2   c7e5     JMP	#0x7e5               	JMP	_00069_DS_
                                           ;	op : =
                                           ;	.line	136; "../main.c"	keycnt=0;
                                           	BANKSEL	_keycnt
0007e3   03b1     CLR	0xb1                 	CLR	_keycnt
                                           ;	op : =
                                           ;	.line	137; "../main.c"	LongKeycacFlag=1;
                                           	BANKSEL	_Flag
0007e4   6ebd     SET	0xbd, 6              	SET	_Flag, 6
                                           ;	op : LABEL
                                           ;	op : =
                                           _00069_DS_
                                           ;	.line	140; "../main.c"	KeyDownNum=0;
                                           	BANKSEL	_KeyDownNum
0007e5   03d8     CLR	0xd8                 	CLR	_KeyDownNum
                                           	BANKSEL	_KeyDownNum
0007e6   03d9     CLR	0xd9                 	CLR	(_KeyDownNum + 1)
                                           ;	op : =
                                           ;	.line	141; "../main.c"	KeyReadFlag=0;
                                           	BANKSEL	_Flag
0007e7   64bd     CLR	0xbd, 4              	CLR	_Flag, 4
                                           ;	op : <
                                           ;unsigned compare: left < lit(0xFA=250), size=1
                                           ;	.line	143; "../main.c"	if(keycnttime<250)keycnttime++;
0007e8   98fa     MOV	R0, #0xfa            	MOV	R0,# 0xfa
                                           ;	.line	144; "../main.c"	if(keycnttime>25)keycnt=0;
                                           	BANKSEL	_keycnttime
0007e9   38b0     SUB	R0, 0xb0             	SUB	R0, _keycnttime
0007ea   7003     JNB	0x3, 0               	JNB	PSW, 0
0007eb   c7ed     JMP	#0x7ed               	JMP	_00300_DS_
                                           	BANKSEL	_keycnttime
0007ec   0bb0     INC	0xb0                 	INC	_keycnttime
                                           _00300_DS_
0007ed   981a     MOV	R0, #0x1a            	MOV	R0,# 0x1a
                                           ;	.line	149; "../main.c"	if(NoWaterTimecnt<250)
                                           	BANKSEL	_keycnttime
0007ee   38b0     SUB	R0, 0xb0             	SUB	R0, _keycnttime
0007ef   7803     JB	0x3, 0                	JB	PSW, 0
0007f0   c7f2     JMP	#0x7f2               	JMP	_00301_DS_
                                           	BANKSEL	_keycnt
0007f1   03b1     CLR	0xb1                 	CLR	_keycnt
                                           _00301_DS_
0007f2   98fa     MOV	R0, #0xfa            	MOV	R0,# 0xfa
                                           ;	.line	150; "../main.c"	NoWaterTimecnt++;
                                           	BANKSEL	_NoWaterTimecnt
0007f3   38b7     SUB	R0, 0xb7             	SUB	R0, _NoWaterTimecnt
                                           ;	.line	159; "../main.c"	if(T3IF)
0007f4   7003     JNB	0x3, 0               	JNB	PSW, 0
0007f5   c7f7     JMP	#0x7f7               	JMP	_00302_DS_
                                           	BANKSEL	_NoWaterTimecnt
0007f6   0bb7     INC	0xb7                 	INC	_NoWaterTimecnt
                                           _00302_DS_
                                           	BANKSEL	_EIF2_bits
0007f7   7f0d     JB	0xd, 7                	JB	_EIF2_bits, 7
0007f8   c801     JMP	#0x801               	JMP	_00087_DS_
                                           ;	op : =
                                           ;	.line	162; "../main.c"	T4ON=0;
0007f9   e101     MOVB	0x1                 	BANKSEL	_T4CTL_bits
0007fa   6064     CLR	0x64, 0              	CLR	_T4CTL_bits, 0
                                           ;	op : =
                                           ;	.line	164; "../main.c"	T3IF = 0;
0007fb   e100     MOVB	0                   	BANKSEL	_EIF2_bits
0007fc   670d     CLR	0xd, 7               	CLR	_EIF2_bits, 7
                                           ;	op : =
                                           ;	.line	165; "../main.c"	Touch_Watch=0;
                                           	BANKSEL	_Touch_Watch
0007fd   03be     CLR	0xbe                 	CLR	_Touch_Watch
                                           	BANKSEL	_Touch_Watch
0007fe   03bf     CLR	0xbf                 	CLR	(_Touch_Watch + 1)
                                           ;	op : =
                                           ;	.line	166; "../main.c"	touch_process_flag = 0xff;
0007ff   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	_touch_process_flag
000800   51a0     MOV	0xa0, R0             	MOV	_touch_process_flag, R0
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00087_DS_
000801   e101     MOVB	0x1                 	BANKSEL	I0R1
000802   5280     MOV	R1, 0x80             	MOV	R1, I0R1
                                           	BANKSEL	I0R7
000803   5e81     MOV	R7, 0x81             	MOV	R7, I0R7
                                           	BANKSEL	I0PCH
000804   5083     MOV	R0, 0x83             	MOV	R0, I0PCH
000805   510a     MOV	0xa, R0              	MOV	PCH, R0
                                           	BANKSEL	I0PSW
000806   5082     MOV	R0, 0x82             	MOV	R0, I0PSW
000807   5103     MOV	0x3, R0              	MOV	PSW, R0
000808   5717     MOV	0x17, R3             	MOV	BANK, R3
000809   f8d0     MOV	R0, R2               	MOV	R0, R2
00080a   0009     IRET                     	IRET	
                                           
                                           
                                           
                                           func._main	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = M
                                           ;***
                                           ;entry:  _main	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _init_mcu
                                           ;   _Pmw1InitFun
                                           ;   _T0InitFun
                                           ;   _Init_ram
                                           ;   _delay_ms
                                           ;   _delay_ms
                                           ;   __KF8spts2w_Lib_SET_MCU_Parameter
                                           ;   __KF8spts2w_LIBf_init_touch_
                                           ;   _KeyFun
                                           ;   _ADCRead
                                           ;   _ADCRead
                                           ;   __divulong
                                           ;   __divulong
                                           ;   _AdjustFun
                                           ;   _delay_ms
                                           ;   _TOUCH_DEBUG_TRS_DEAL
                                           ;   __KF8spts2w_LIBf_touch_process_
                                           ;   _Water_Judge
                                           ;   __R2PCL
                                           ;   _write_eep_ts2w_
                                           ;   _delay_ms
                                           ;   __KF8spts2w_LIBf_init_touch_
                                           ;   _init_mcu
                                           ;   _Pmw1InitFun
                                           ;   _T0InitFun
                                           ;   _Init_ram
                                           ;   _delay_ms
                                           ;   _delay_ms
                                           ;   __KF8spts2w_Lib_SET_MCU_Parameter
                                           ;   __KF8spts2w_LIBf_init_touch_
                                           ;   _KeyFun
                                           ;   _ADCRead
                                           ;   _ADCRead
                                           ;   __divulong
                                           ;   __divulong
                                           ;   _AdjustFun
                                           ;   _delay_ms
                                           ;   _TOUCH_DEBUG_TRS_DEAL
                                           ;   __KF8spts2w_LIBf_touch_process_
                                           ;   _Water_Judge
                                           ;   __R2PCL
                                           ;   _write_eep_ts2w_
                                           ;   _delay_ms
                                           ;   __KF8spts2w_LIBf_init_touch_
                                           ;15 compiler assigned registers:
                                           ;   STK00
                                           ;   r0x105E
                                           ;   r0x105F
                                           ;   r0x1060
                                           ;   r0x1061
                                           ;   r0x1062
                                           ;   r0x1063
                                           ;   STK06
                                           ;   STK05
                                           ;   STK04
                                           ;   STK03
                                           ;   STK02
                                           ;   STK01
                                           ;   r0x1064
                                           ;   r0x1065
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _main	;Function start
                                           ; 2 exit points
                                           ;	op : CALL
                                           ;	.line	365; "../main.c"	init_mcu();
                                           	PAGESEL	_init_mcu
000248   dfe0     CALL	#0xfe0              	CALL	_init_mcu
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	366; "../main.c"	VRECTL=VRECTL1_INIT;
000249   98c2     MOV	R0, #0xc2            	MOV	R0,# 0xc2
00024a   e100     MOVB	0                   	BANKSEL	_VRECTL
00024b   512b     MOV	0x2b, R0             	MOV	_VRECTL, R0
                                           ;	op : CALL
                                           ;	.line	367; "../main.c"	Pmw1InitFun();
                                           	PAGESEL	_Pmw1InitFun
00024c   dbc6     CALL	#0xbc6              	CALL	_Pmw1InitFun
                                           	PAGESEL	$
                                           ;	op : CALL
                                           ;	.line	368; "../main.c"	T0InitFun();
                                           	PAGESEL	_T0InitFun
00024d   dbdb     CALL	#0xbdb              	CALL	_T0InitFun
                                           	PAGESEL	$
                                           ;	op : CALL
                                           ;	.line	369; "../main.c"	Init_ram();
                                           	PAGESEL	_Init_ram
00024e   db9a     CALL	#0xb9a              	CALL	_Init_ram
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	370; "../main.c"	LED1=LED_ON;
00024f   e100     MOVB	0                   	BANKSEL	_P2LR_bits
000250   6146     CLR	0x46, 1              	CLR	_P2LR_bits, 1
                                           ;	op : =
                                           ;	.line	371; "../main.c"	LED2=LED_ON;
                                           	BANKSEL	_P2LR_bits
000251   6246     CLR	0x46, 2              	CLR	_P2LR_bits, 2
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	372; "../main.c"	delay_ms(1500);	   //ȴԴȶ
000252   98dc     MOV	R0, #0xdc            	MOV	R0,# 0xdc
000253   e101     MOVB	0x1                 	BANKSEL	STK00
000254   5193     MOV	0x93, R0             	MOV	STK00, R0
000255   9805     MOV	R0, #0x5             	MOV	R0,# 0x05
                                           	PAGESEL	_delay_ms
000256   dade     CALL	#0xade              	CALL	_delay_ms
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	373; "../main.c"	LED1=LED_OFF;
000257   e100     MOVB	0                   	BANKSEL	_P2LR_bits
000258   6946     SET	0x46, 1              	SET	_P2LR_bits, 1
                                           ;	op : =
                                           ;	.line	374; "../main.c"	LED2=LED_OFF;
                                           	BANKSEL	_P2LR_bits
000259   6a46     SET	0x46, 2              	SET	_P2LR_bits, 2
                                           ;	op : =
                                           ;	.line	378; "../main.c"	CTCTL1 = 0x81;	             	//ƵԴ    0/4/8/C & 1Ƶʵڵ2MΪ
00025a   9881     MOV	R0, #0x81            	MOV	R0,# 0x81
                                           	BANKSEL	_CTCTL1
00025b   5164     MOV	0x64, R0             	MOV	_CTCTL1, R0
                                           ;	op : =
                                           ;	.line	379; "../main.c"	VDAC=0x90;				       //ʽ0.05VddN+1)    N=0--15
00025c   9890     MOV	R0, #0x90            	MOV	R0,# 0x90
00025d   e101     MOVB	0x1                 	BANKSEL	_VDAC
00025e   5112     MOV	0x12, R0             	MOV	_VDAC, R0
                                           ;	op : INLINEASM
00025f   0064     CWDT                     	CWDT 
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	387; "../main.c"	delay_ms(500);
000260   98f4     MOV	R0, #0xf4            	MOV	R0,# 0xf4
                                           	BANKSEL	STK00
000261   5193     MOV	0x93, R0             	MOV	STK00, R0
000262   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	PAGESEL	_delay_ms
000263   dade     CALL	#0xade              	CALL	_delay_ms
                                           	PAGESEL	$
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	388; "../main.c"	_KF8spts2w_Lib_SET_MCU_Parameter(2);	//ģʽkf8spts2w_lib_touch.h ˵
000264   9802     MOV	R0, #0x2             	MOV	R0,# 0x02
                                           	PAGESEL	__KF8spts2w_Lib_SET_MCU_Parameter
000265   db69     CALL	#0xb69              	CALL	__KF8spts2w_Lib_SET_MCU_Parameter
                                           	PAGESEL	$
                                           ;	op : CALL
                                           ;	.line	389; "../main.c"	_KF8spts2w_LIBf_init_touch_();		//õݴ⺯ĳʼ
                                           	PAGESEL	__KF8spts2w_LIBf_init_touch_
000266   daaa     CALL	#0xaaa              	CALL	__KF8spts2w_LIBf_init_touch_
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : INLINEASM
                                           _00219_DS_
000267   0064     CWDT                     	CWDT 
                                           ;	op : CALL
                                           ;	.line	394; "../main.c"	KeyFun();
                                           	PAGESEL	_KeyFun
000268   d974     CALL	#0x974              	CALL	_KeyFun
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	395; "../main.c"	if(WorkOn)
000269   e100     MOVB	0                   	BANKSEL	_Flag
00026a   78bd     JB	0xbd, 0               	JB	_Flag, 0
00026b   c388     JMP	#0x388               	JMP	_00201_DS_
                                           ;	op : =
                                           ;	.line	397; "../main.c"	IO_FAN=1;///gy
                                           	BANKSEL	_P1LR_bits
00026c   6847     SET	0x47, 0              	SET	_P1LR_bits, 0
                                           ;	op : INLINEASM
00026d   0064     CWDT                     	CWDT 
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	399; "../main.c"	if(!NoWaterFlag)
                                           	BANKSEL	_AlarmFlag
00026e   70bc     JNB	0xbc, 0              	JNB	_AlarmFlag, 0
00026f   c371     JMP	#0x371               	JMP	_00191_DS_
                                           ;	op : <
                                           ;	.line	401; "../main.c"	if(main_cnt<Power)
                                           	BANKSEL	_Power
000270   0eb4     MOVZ	R0, 0xb4            	MOVZ	R0, _Power
                                           	BANKSEL	_main_cnt
000271   38b6     SUB	R0, 0xb6             	SUB	R0, _main_cnt
                                           ;comparing bytes at offset 0
000272   7003     JNB	0x3, 0               	JNB	PSW, 0
                                           ;	.line	404; "../main.c"	if(!PWM1ON)
000273   c347     JMP	#0x347               	JMP	_00186_DS_
                                           ;	.line	406; "../main.c"	PWM1ON=1;			//PWM
                                           	BANKSEL	_PWMCTL_bits
000274   7015     JNB	0x15, 0              	JNB	_PWMCTL_bits, 0
000275   c277     JMP	#0x277               	JMP	_00281_DS_
                                           ;	.line	409; "../main.c"	AD_temp_V +=ADCRead(ANSE_V);
                                           	BANKSEL	_PWMCTL_bits
000276   6815     SET	0x15, 0              	SET	_PWMCTL_bits, 0
                                           _00281_DS_
000277   9889     MOV	R0, #0x89            	MOV	R0,# 0x89
                                           	PAGESEL	_ADCRead
000278   db05     CALL	#0xb05              	CALL	_ADCRead
                                           	PAGESEL	$
000279   e100     MOVB	0                   	BANKSEL	r0x105E
00027a   5195     MOV	0x95, R0             	MOV	r0x105E, R0
00027b   e101     MOVB	0x1                 	BANKSEL	STK00
00027c   0e93     MOVZ	R0, 0x93            	MOVZ	R0, STK00
00027d   e100     MOVB	0                   	BANKSEL	r0x1060
00027e   5194     MOV	0x94, R0             	MOV	r0x1060, R0
                                           	BANKSEL	r0x105F
00027f   5196     MOV	0x96, R0             	MOV	r0x105F, R0
                                           ;	op : CAST
                                           ;;113	MOVZ	R0, r0x105F
                                           ;;115	MOVZ	R0, r0x105E
                                           	BANKSEL	r0x1062
000280   0392     CLR	0x92                 	CLR	r0x1062
                                           	BANKSEL	r0x1063
000281   0391     CLR	0x91                 	CLR	r0x1063
                                           ;	op : +
                                           	BANKSEL	r0x1060
000282   5094     MOV	R0, 0x94             	MOV	R0, r0x1060
                                           	BANKSEL	_AD_temp_V
000283   21f8     ADD	0xf8, R0             	ADD	_AD_temp_V, R0
                                           ;;114	MOVZ	R0, r0x1061
                                           	BANKSEL	r0x105E
000284   0e95     MOVZ	R0, 0x95            	MOVZ	R0, r0x105E
                                           	BANKSEL	r0x1061
000285   5193     MOV	0x93, R0             	MOV	r0x1061, R0
000286   7003     JNB	0x3, 0               	JNB	PSW, 0
000287   ff10     INC	R0                   	INC	R0
000288   7203     JNB	0x3, 2               	JNB	PSW, 2
000289   c28b     JMP	#0x28b               	JMP	_00282_DS_
                                           	BANKSEL	_AD_temp_V
00028a   21f9     ADD	0xf9, R0             	ADD	(_AD_temp_V + 1), R0
                                           _00282_DS_
                                           	BANKSEL	r0x1062
00028b   0e92     MOVZ	R0, 0x92            	MOVZ	R0, r0x1062
00028c   7003     JNB	0x3, 0               	JNB	PSW, 0
00028d   ff10     INC	R0                   	INC	R0
00028e   7203     JNB	0x3, 2               	JNB	PSW, 2
00028f   c291     JMP	#0x291               	JMP	_00283_DS_
                                           	BANKSEL	_AD_temp_V
000290   21fa     ADD	0xfa, R0             	ADD	(_AD_temp_V + 2), R0
                                           _00283_DS_
                                           	BANKSEL	r0x1063
000291   0e91     MOVZ	R0, 0x91            	MOVZ	R0, r0x1063
000292   7003     JNB	0x3, 0               	JNB	PSW, 0
000293   ff10     INC	R0                   	INC	R0
000294   7203     JNB	0x3, 2               	JNB	PSW, 2
000295   c297     JMP	#0x297               	JMP	_00284_DS_
                                           	BANKSEL	_AD_temp_V
000296   21fb     ADD	0xfb, R0             	ADD	(_AD_temp_V + 3), R0
                                           ;	op : SEND
                                           ;	op : CALL
                                           _00284_DS_
                                           ;	.line	411; "../main.c"	AD_temp_I +=ADCRead(ANSE_I);
000297   9885     MOV	R0, #0x85            	MOV	R0,# 0x85
                                           	PAGESEL	_ADCRead
000298   db05     CALL	#0xb05              	CALL	_ADCRead
                                           	PAGESEL	$
000299   e100     MOVB	0                   	BANKSEL	r0x105E
00029a   5195     MOV	0x95, R0             	MOV	r0x105E, R0
00029b   e101     MOVB	0x1                 	BANKSEL	STK00
00029c   0e93     MOVZ	R0, 0x93            	MOVZ	R0, STK00
00029d   e100     MOVB	0                   	BANKSEL	r0x105F
00029e   5196     MOV	0x96, R0             	MOV	r0x105F, R0
                                           ;	op : CAST
                                           	BANKSEL	r0x105F
00029f   0e96     MOVZ	R0, 0x96            	MOVZ	R0, r0x105F
                                           	BANKSEL	r0x1060
0002a0   5194     MOV	0x94, R0             	MOV	r0x1060, R0
                                           ;;112	MOVZ	R0, r0x105E
                                           	BANKSEL	r0x1062
0002a1   0392     CLR	0x92                 	CLR	r0x1062
                                           	BANKSEL	r0x1063
0002a2   0391     CLR	0x91                 	CLR	r0x1063
                                           ;	op : +
                                           	BANKSEL	r0x1060
0002a3   5094     MOV	R0, 0x94             	MOV	R0, r0x1060
                                           	BANKSEL	_AD_temp_I
0002a4   21f4     ADD	0xf4, R0             	ADD	_AD_temp_I, R0
                                           ;;111	MOVZ	R0, r0x1061
                                           	BANKSEL	r0x105E
0002a5   0e95     MOVZ	R0, 0x95            	MOVZ	R0, r0x105E
                                           	BANKSEL	r0x1061
0002a6   5193     MOV	0x93, R0             	MOV	r0x1061, R0
0002a7   7003     JNB	0x3, 0               	JNB	PSW, 0
0002a8   ff10     INC	R0                   	INC	R0
0002a9   7203     JNB	0x3, 2               	JNB	PSW, 2
0002aa   c2ac     JMP	#0x2ac               	JMP	_00285_DS_
                                           	BANKSEL	_AD_temp_I
0002ab   21f5     ADD	0xf5, R0             	ADD	(_AD_temp_I + 1), R0
                                           _00285_DS_
                                           	BANKSEL	r0x1062
0002ac   0e92     MOVZ	R0, 0x92            	MOVZ	R0, r0x1062
0002ad   7003     JNB	0x3, 0               	JNB	PSW, 0
0002ae   ff10     INC	R0                   	INC	R0
0002af   7203     JNB	0x3, 2               	JNB	PSW, 2
0002b0   c2b2     JMP	#0x2b2               	JMP	_00286_DS_
                                           	BANKSEL	_AD_temp_I
0002b1   21f6     ADD	0xf6, R0             	ADD	(_AD_temp_I + 2), R0
                                           _00286_DS_
                                           	BANKSEL	r0x1063
0002b2   0e91     MOVZ	R0, 0x91            	MOVZ	R0, r0x1063
0002b3   7003     JNB	0x3, 0               	JNB	PSW, 0
0002b4   ff10     INC	R0                   	INC	R0
0002b5   7203     JNB	0x3, 2               	JNB	PSW, 2
0002b6   c2b8     JMP	#0x2b8               	JMP	_00287_DS_
                                           	BANKSEL	_AD_temp_I
0002b7   21f7     ADD	0xf7, R0             	ADD	(_AD_temp_I + 3), R0
                                           ;	op : +
                                           _00287_DS_
                                           ;	.line	413; "../main.c"	AD_cnt++;
                                           	BANKSEL	_AD_cnt
0002b8   0bd2     INC	0xd2                 	INC	_AD_cnt
0002b9   7a03     JB	0x3, 2                	JB	PSW, 2
0002ba   c2bc     JMP	#0x2bc               	JMP	_00288_DS_
                                           	BANKSEL	_AD_cnt
0002bb   0bd3     INC	0xd3                 	INC	(_AD_cnt + 1)
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x20=32), size=2
                                           _00288_DS_
                                           ;	.line	414; "../main.c"	if(AD_cnt>=AVEG_NUM_MIN)
0002bc   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	_AD_cnt
0002bd   38d3     SUB	R0, 0xd3             	SUB	R0, (_AD_cnt + 1)
                                           ;comparing bytes at offset 1
0002be   7a03     JB	0x3, 2                	JB	PSW, 2
0002bf   c2c2     JMP	#0x2c2               	JMP	_00264_DS_
0002c0   9820     MOV	R0, #0x20            	MOV	R0,# 0x20
                                           	BANKSEL	_AD_cnt
0002c1   38d2     SUB	R0, 0xd2             	SUB	R0, _AD_cnt
                                           _00264_DS_
0002c2   7803     JB	0x3, 0                	JB	PSW, 0
0002c3   c331     JMP	#0x331               	JMP	_00169_DS_
                                           ;	op : CAST
                                           ;	.line	417; "../main.c"	AD_V=AD_temp_V/AD_cnt;
                                           	BANKSEL	_AD_cnt
0002c4   0ed2     MOVZ	R0, 0xd2            	MOVZ	R0, _AD_cnt
                                           	BANKSEL	r0x105F
0002c5   5196     MOV	0x96, R0             	MOV	r0x105F, R0
                                           	BANKSEL	_AD_cnt
0002c6   0ed3     MOVZ	R0, 0xd3            	MOVZ	R0, (_AD_cnt + 1)
                                           	BANKSEL	r0x105E
0002c7   5195     MOV	0x95, R0             	MOV	r0x105E, R0
                                           	BANKSEL	r0x1060
0002c8   0394     CLR	0x94                 	CLR	r0x1060
                                           	BANKSEL	r0x1061
0002c9   0393     CLR	0x93                 	CLR	r0x1061
                                           ;	op : SEND
                                           ;	op : SEND
                                           ;	op : CALL
                                           	BANKSEL	r0x105F
0002ca   0e96     MOVZ	R0, 0x96            	MOVZ	R0, r0x105F
0002cb   e101     MOVB	0x1                 	BANKSEL	STK06
0002cc   518d     MOV	0x8d, R0             	MOV	STK06, R0
0002cd   e100     MOVB	0                   	BANKSEL	r0x105E
0002ce   0e95     MOVZ	R0, 0x95            	MOVZ	R0, r0x105E
0002cf   e101     MOVB	0x1                 	BANKSEL	STK05
0002d0   518e     MOV	0x8e, R0             	MOV	STK05, R0
0002d1   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	STK04
0002d2   518f     MOV	0x8f, R0             	MOV	STK04, R0
0002d3   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	STK03
0002d4   5190     MOV	0x90, R0             	MOV	STK03, R0
0002d5   e100     MOVB	0                   	BANKSEL	_AD_temp_V
0002d6   0ef8     MOVZ	R0, 0xf8            	MOVZ	R0, _AD_temp_V
0002d7   e101     MOVB	0x1                 	BANKSEL	STK02
0002d8   5191     MOV	0x91, R0             	MOV	STK02, R0
0002d9   e100     MOVB	0                   	BANKSEL	_AD_temp_V
0002da   0ef9     MOVZ	R0, 0xf9            	MOVZ	R0, (_AD_temp_V + 1)
0002db   e101     MOVB	0x1                 	BANKSEL	STK01
0002dc   5192     MOV	0x92, R0             	MOV	STK01, R0
0002dd   e100     MOVB	0                   	BANKSEL	_AD_temp_V
0002de   0efa     MOVZ	R0, 0xfa            	MOVZ	R0, (_AD_temp_V + 2)
0002df   e101     MOVB	0x1                 	BANKSEL	STK00
0002e0   5193     MOV	0x93, R0             	MOV	STK00, R0
0002e1   e100     MOVB	0                   	BANKSEL	_AD_temp_V
0002e2   0efb     MOVZ	R0, 0xfb            	MOVZ	R0, (_AD_temp_V + 3)
                                           	PAGESEL	__divulong
0002e3   d684     CALL	#0x684              	CALL	__divulong
                                           	PAGESEL	$
0002e4   e100     MOVB	0                   	BANKSEL	r0x1061
0002e5   5193     MOV	0x93, R0             	MOV	r0x1061, R0
0002e6   e101     MOVB	0x1                 	BANKSEL	STK00
0002e7   0e93     MOVZ	R0, 0x93            	MOVZ	R0, STK00
0002e8   e100     MOVB	0                   	BANKSEL	r0x1060
0002e9   5194     MOV	0x94, R0             	MOV	r0x1060, R0
0002ea   e101     MOVB	0x1                 	BANKSEL	STK01
0002eb   0e92     MOVZ	R0, 0x92            	MOVZ	R0, STK01
0002ec   e100     MOVB	0                   	BANKSEL	r0x105E
0002ed   5195     MOV	0x95, R0             	MOV	r0x105E, R0
0002ee   e101     MOVB	0x1                 	BANKSEL	STK02
0002ef   0e91     MOVZ	R0, 0x91            	MOVZ	R0, STK02
0002f0   e100     MOVB	0                   	BANKSEL	_AD_V
0002f1   51d6     MOV	0xd6, R0             	MOV	_AD_V, R0
                                           	BANKSEL	r0x105F
0002f2   5196     MOV	0x96, R0             	MOV	r0x105F, R0
                                           ;	op : CAST
                                           ;;110	MOVZ	R0, r0x105F
                                           	BANKSEL	r0x105E
0002f3   0e95     MOVZ	R0, 0x95            	MOVZ	R0, r0x105E
                                           	BANKSEL	_AD_V
0002f4   51d7     MOV	0xd7, R0             	MOV	(_AD_V + 1), R0
                                           ;	op : CAST
                                           ;	.line	418; "../main.c"	AD_I=AD_temp_I/AD_cnt;
                                           	BANKSEL	_AD_cnt
0002f5   0ed2     MOVZ	R0, 0xd2            	MOVZ	R0, _AD_cnt
                                           	BANKSEL	r0x105F
0002f6   5196     MOV	0x96, R0             	MOV	r0x105F, R0
                                           	BANKSEL	_AD_cnt
0002f7   0ed3     MOVZ	R0, 0xd3            	MOVZ	R0, (_AD_cnt + 1)
                                           	BANKSEL	r0x105E
0002f8   5195     MOV	0x95, R0             	MOV	r0x105E, R0
                                           	BANKSEL	r0x1060
0002f9   0394     CLR	0x94                 	CLR	r0x1060
                                           	BANKSEL	r0x1061
0002fa   0393     CLR	0x93                 	CLR	r0x1061
                                           ;	op : SEND
                                           ;	op : SEND
                                           ;	op : CALL
                                           	BANKSEL	r0x105F
0002fb   0e96     MOVZ	R0, 0x96            	MOVZ	R0, r0x105F
0002fc   e101     MOVB	0x1                 	BANKSEL	STK06
0002fd   518d     MOV	0x8d, R0             	MOV	STK06, R0
0002fe   e100     MOVB	0                   	BANKSEL	r0x105E
0002ff   0e95     MOVZ	R0, 0x95            	MOVZ	R0, r0x105E
000300   e101     MOVB	0x1                 	BANKSEL	STK05
000301   518e     MOV	0x8e, R0             	MOV	STK05, R0
000302   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	STK04
000303   518f     MOV	0x8f, R0             	MOV	STK04, R0
000304   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	STK03
000305   5190     MOV	0x90, R0             	MOV	STK03, R0
000306   e100     MOVB	0                   	BANKSEL	_AD_temp_I
000307   0ef4     MOVZ	R0, 0xf4            	MOVZ	R0, _AD_temp_I
000308   e101     MOVB	0x1                 	BANKSEL	STK02
000309   5191     MOV	0x91, R0             	MOV	STK02, R0
00030a   e100     MOVB	0                   	BANKSEL	_AD_temp_I
00030b   0ef5     MOVZ	R0, 0xf5            	MOVZ	R0, (_AD_temp_I + 1)
00030c   e101     MOVB	0x1                 	BANKSEL	STK01
00030d   5192     MOV	0x92, R0             	MOV	STK01, R0
00030e   e100     MOVB	0                   	BANKSEL	_AD_temp_I
00030f   0ef6     MOVZ	R0, 0xf6            	MOVZ	R0, (_AD_temp_I + 2)
000310   e101     MOVB	0x1                 	BANKSEL	STK00
000311   5193     MOV	0x93, R0             	MOV	STK00, R0
000312   e100     MOVB	0                   	BANKSEL	_AD_temp_I
000313   0ef7     MOVZ	R0, 0xf7            	MOVZ	R0, (_AD_temp_I + 3)
                                           	PAGESEL	__divulong
000314   d684     CALL	#0x684              	CALL	__divulong
                                           	PAGESEL	$
000315   e100     MOVB	0                   	BANKSEL	r0x1061
000316   5193     MOV	0x93, R0             	MOV	r0x1061, R0
000317   e101     MOVB	0x1                 	BANKSEL	STK00
000318   0e93     MOVZ	R0, 0x93            	MOVZ	R0, STK00
000319   e100     MOVB	0                   	BANKSEL	r0x1060
00031a   5194     MOV	0x94, R0             	MOV	r0x1060, R0
00031b   e101     MOVB	0x1                 	BANKSEL	STK01
00031c   0e92     MOVZ	R0, 0x92            	MOVZ	R0, STK01
00031d   e100     MOVB	0                   	BANKSEL	r0x105E
00031e   5195     MOV	0x95, R0             	MOV	r0x105E, R0
00031f   e101     MOVB	0x1                 	BANKSEL	STK02
000320   0e91     MOVZ	R0, 0x91            	MOVZ	R0, STK02
000321   e100     MOVB	0                   	BANKSEL	_AD_I
000322   51d4     MOV	0xd4, R0             	MOV	_AD_I, R0
                                           	BANKSEL	r0x105F
000323   5196     MOV	0x96, R0             	MOV	r0x105F, R0
                                           ;	op : CAST
                                           ;;103	MOVZ	R0, r0x105F
                                           	BANKSEL	r0x105E
000324   0e95     MOVZ	R0, 0x95            	MOVZ	R0, r0x105E
                                           	BANKSEL	_AD_I
000325   51d5     MOV	0xd5, R0             	MOV	(_AD_I + 1), R0
                                           ;	op : =
                                           ;	.line	419; "../main.c"	AD_temp_V=0;
                                           	BANKSEL	_AD_temp_V
000326   03f8     CLR	0xf8                 	CLR	_AD_temp_V
                                           	BANKSEL	_AD_temp_V
000327   03f9     CLR	0xf9                 	CLR	(_AD_temp_V + 1)
                                           	BANKSEL	_AD_temp_V
000328   03fa     CLR	0xfa                 	CLR	(_AD_temp_V + 2)
                                           	BANKSEL	_AD_temp_V
000329   03fb     CLR	0xfb                 	CLR	(_AD_temp_V + 3)
                                           ;	op : =
                                           ;	.line	420; "../main.c"	AD_temp_I=0;
                                           	BANKSEL	_AD_temp_I
00032a   03f4     CLR	0xf4                 	CLR	_AD_temp_I
                                           	BANKSEL	_AD_temp_I
00032b   03f5     CLR	0xf5                 	CLR	(_AD_temp_I + 1)
                                           	BANKSEL	_AD_temp_I
00032c   03f6     CLR	0xf6                 	CLR	(_AD_temp_I + 2)
                                           	BANKSEL	_AD_temp_I
00032d   03f7     CLR	0xf7                 	CLR	(_AD_temp_I + 3)
                                           ;	op : =
                                           ;	.line	421; "../main.c"	data_ok=1;
                                           	BANKSEL	_Flag
00032e   69bd     SET	0xbd, 1              	SET	_Flag, 1
                                           ;	op : =
                                           ;	.line	422; "../main.c"	AD_cnt=0;
                                           	BANKSEL	_AD_cnt
00032f   03d2     CLR	0xd2                 	CLR	_AD_cnt
                                           	BANKSEL	_AD_cnt
000330   03d3     CLR	0xd3                 	CLR	(_AD_cnt + 1)
                                           ;	op : LABEL
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/3)
                                           ;unsigned compare: left >= lit(0x1F5=501), size=2
                                           _00169_DS_
                                           ;	.line	426; "../main.c"	if(AD_I>I_ERROR_MAX)			//Ͷ·
000331   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	_AD_I
000332   38d5     SUB	R0, 0xd5             	SUB	R0, (_AD_I + 1)
                                           ;comparing bytes at offset 1
000333   7a03     JB	0x3, 2                	JB	PSW, 2
000334   c337     JMP	#0x337               	JMP	_00265_DS_
000335   98f5     MOV	R0, #0xf5            	MOV	R0,# 0xf5
                                           	BANKSEL	_AD_I
000336   38d4     SUB	R0, 0xd4             	SUB	R0, _AD_I
                                           _00265_DS_
000337   7803     JB	0x3, 0                	JB	PSW, 0
000338   c3ad     JMP	#0x3ad               	JMP	_00202_DS_
                                           ;	op : +
                                           ;	.line	428; "../main.c"	CurrentShortCnt++;
                                           	BANKSEL	_CurrentShortCnt
000339   0bb3     INC	0xb3                 	INC	_CurrentShortCnt
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/3)
                                           ;unsigned compare: left >= lit(0x6=6), size=1
                                           ;	.line	429; "../main.c"	if(CurrentShortCnt>5)
00033a   9806     MOV	R0, #0x6             	MOV	R0,# 0x06
                                           	BANKSEL	_CurrentShortCnt
00033b   38b3     SUB	R0, 0xb3             	SUB	R0, _CurrentShortCnt
                                           ;comparing bytes at offset 0
00033c   7803     JB	0x3, 0                	JB	PSW, 0
00033d   c3ad     JMP	#0x3ad               	JMP	_00202_DS_
                                           ;	op : =
                                           ;	.line	431; "../main.c"	PWM1ON=0;
                                           	BANKSEL	_PWMCTL_bits
00033e   6015     CLR	0x15, 0              	CLR	_PWMCTL_bits, 0
                                           ;	op : =
                                           ;	.line	432; "../main.c"	PWM_IO=0;
                                           	BANKSEL	_P0LR_bits
00033f   6245     CLR	0x45, 2              	CLR	_P0LR_bits, 2
                                           ;	op : =
                                           ;	.line	433; "../main.c"	LEDFre=LEDFre_INIT/LED_I_ERROR;
000340   9806     MOV	R0, #0x6             	MOV	R0,# 0x06
                                           	BANKSEL	_LEDFre
000341   51d0     MOV	0xd0, R0             	MOV	_LEDFre, R0
                                           	BANKSEL	_LEDFre
000342   03d1     CLR	0xd1                 	CLR	(_LEDFre + 1)
                                           ;	op : =
                                           ;	.line	434; "../main.c"	NoWaterFlag=1;
                                           	BANKSEL	_AlarmFlag
000343   68bc     SET	0xbc, 0              	SET	_AlarmFlag, 0
                                           ;	op : =
                                           ;	.line	435; "../main.c"	LED2=LED_ON;
                                           	BANKSEL	_P2LR_bits
000344   6246     CLR	0x46, 2              	CLR	_P2LR_bits, 2
                                           ;	op : =
                                           ;	.line	436; "../main.c"	LED1=LED_ON;
                                           	BANKSEL	_P2LR_bits
000345   6146     CLR	0x46, 1              	CLR	_P2LR_bits, 1
                                           ;	op : GOTO
000346   c3ad     JMP	#0x3ad               	JMP	_00202_DS_
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00186_DS_
                                           ;	.line	444; "../main.c"	if(PWM1ON)
                                           	BANKSEL	_PWMCTL_bits
000347   7815     JB	0x15, 0               	JB	_PWMCTL_bits, 0
000348   c34b     JMP	#0x34b               	JMP	_00175_DS_
                                           ;	op : =
                                           ;	.line	446; "../main.c"	PWM1ON=0;
                                           	BANKSEL	_PWMCTL_bits
000349   6015     CLR	0x15, 0              	CLR	_PWMCTL_bits, 0
                                           ;	op : =
                                           ;	.line	447; "../main.c"	PWM_IO=0;
                                           	BANKSEL	_P0LR_bits
00034a   6245     CLR	0x45, 2              	CLR	_P0LR_bits, 2
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00175_DS_
                                           ;	.line	450; "../main.c"	if(data_ok)
                                           	BANKSEL	_Flag
00034b   79bd     JB	0xbd, 1               	JB	_Flag, 1
00034c   c36b     JMP	#0x36b               	JMP	_00182_DS_
                                           ;	op : =
                                           ;	.line	452; "../main.c"	data_ok=0;
                                           	BANKSEL	_Flag
00034d   61bd     CLR	0xbd, 1              	CLR	_Flag, 1
                                           ;	op : CALL
                                           ;	.line	454; "../main.c"	AdjustFun();
                                           	PAGESEL	_AdjustFun
00034e   d875     CALL	#0x875              	CALL	_AdjustFun
                                           	PAGESEL	$
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x32=50), size=1
                                           ;	.line	455; "../main.c"	if(SubNum>=SubNum_INIT_MAX)		//,Ƭ쳣
00034f   9832     MOV	R0, #0x32            	MOV	R0,# 0x32
000350   e100     MOVB	0                   	BANKSEL	_SubNum
000351   38b5     SUB	R0, 0xb5             	SUB	R0, _SubNum
                                           ;comparing bytes at offset 0
000352   7803     JB	0x3, 0                	JB	PSW, 0
000353   c36b     JMP	#0x36b               	JMP	_00182_DS_
                                           ;	op : =
                                           ;	.line	458; "../main.c"	if(AdjustOvercnt++>ADJUST_OVER_CNT_MAX)		//Ƶ3볬Ƶ
                                           	BANKSEL	_AdjustOvercnt
000354   0eb8     MOVZ	R0, 0xb8            	MOVZ	R0, _AdjustOvercnt
                                           	BANKSEL	r0x105F
000355   5196     MOV	0x96, R0             	MOV	r0x105F, R0
                                           ;	op : +
                                           	BANKSEL	_AdjustOvercnt
000356   0bb8     INC	0xb8                 	INC	_AdjustOvercnt
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x4=4), size=1
000357   9804     MOV	R0, #0x4             	MOV	R0,# 0x04
                                           	BANKSEL	r0x105F
000358   3896     SUB	R0, 0x96             	SUB	R0, r0x105F
                                           ;comparing bytes at offset 0
000359   7803     JB	0x3, 0                	JB	PSW, 0
00035a   c362     JMP	#0x362               	JMP	_00177_DS_
                                           ;	op : =
                                           ;	.line	460; "../main.c"	NoWaterFlag=1;
                                           	BANKSEL	_AlarmFlag
00035b   68bc     SET	0xbc, 0              	SET	_AlarmFlag, 0
                                           ;	op : =
                                           ;	.line	462; "../main.c"	LEDFre=LEDFre_INIT/LED_NUM_ERROR;
00035c   9819     MOV	R0, #0x19            	MOV	R0,# 0x19
                                           	BANKSEL	_LEDFre
00035d   51d0     MOV	0xd0, R0             	MOV	_LEDFre, R0
                                           	BANKSEL	_LEDFre
00035e   03d1     CLR	0xd1                 	CLR	(_LEDFre + 1)
                                           ;	op : =
                                           ;	.line	463; "../main.c"	LED1=LED_ON;
                                           	BANKSEL	_P2LR_bits
00035f   6146     CLR	0x46, 1              	CLR	_P2LR_bits, 1
                                           ;	op : =
                                           ;	.line	464; "../main.c"	LED2=LED_ON;
                                           	BANKSEL	_P2LR_bits
000360   6246     CLR	0x46, 2              	CLR	_P2LR_bits, 2
                                           ;	op : GOTO
000361   c36b     JMP	#0x36b               	JMP	_00182_DS_
                                           ;	op : LABEL
                                           ;	op : -
                                           _00177_DS_
                                           ;	.line	468; "../main.c"	CurrentAdjustNum = CurrentAdjustNum-I_ADJUST_NUM_CHANGE_NUM;
000362   98ec     MOV	R0, #0xec            	MOV	R0,# 0xec
                                           	BANKSEL	_CurrentAdjustNum
000363   21da     ADD	0xda, R0             	ADD	_CurrentAdjustNum, R0
000364   7003     JNB	0x3, 0               	JNB	PSW, 0
000365   c367     JMP	#0x367               	JMP	_00289_DS_
                                           	BANKSEL	_CurrentAdjustNum
000366   07db     DEC	0xdb                 	DEC	(_CurrentAdjustNum + 1)
                                           ;	op : -
                                           _00289_DS_
                                           ;	.line	469; "../main.c"	SubNum = SubNum-40;
000367   98d8     MOV	R0, #0xd8            	MOV	R0,# 0xd8
                                           	BANKSEL	_SubNum
000368   21b5     ADD	0xb5, R0             	ADD	_SubNum, R0
                                           ;	op : +
                                           ;	.line	470; "../main.c"	OSCCAL0 = OSCCAL0+40;
000369   9828     MOV	R0, #0x28            	MOV	R0,# 0x28
                                           	BANKSEL	_OSCCAL0
00036a   2130     ADD	0x30, R0             	ADD	_OSCCAL0, R0
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x32=50), size=1
                                           _00182_DS_
                                           ;	.line	480; "../main.c"	if(main_cnt>=Time)
00036b   9832     MOV	R0, #0x32            	MOV	R0,# 0x32
                                           	BANKSEL	_main_cnt
00036c   38b6     SUB	R0, 0xb6             	SUB	R0, _main_cnt
                                           ;comparing bytes at offset 0
00036d   7803     JB	0x3, 0                	JB	PSW, 0
00036e   c3ad     JMP	#0x3ad               	JMP	_00202_DS_
                                           ;	op : =
                                           ;	.line	482; "../main.c"	main_cnt=0;
                                           	BANKSEL	_main_cnt
00036f   03b6     CLR	0xb6                 	CLR	_main_cnt
                                           ;	op : GOTO
000370   c3ad     JMP	#0x3ad               	JMP	_00202_DS_
                                           ;	op : LABEL
                                           ;	op : CAST
                                           _00191_DS_
                                           ;	.line	488; "../main.c"	if(NoWaterTimecnt>LEDFre)
                                           	BANKSEL	_NoWaterTimecnt
000371   0eb7     MOVZ	R0, 0xb7            	MOVZ	R0, _NoWaterTimecnt
                                           	BANKSEL	r0x105F
000372   5196     MOV	0x96, R0             	MOV	r0x105F, R0
                                           	BANKSEL	r0x105E
000373   0395     CLR	0x95                 	CLR	r0x105E
                                           ;	op : >
000374   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	_LEDFre
000375   38d1     SUB	R0, 0xd1             	SUB	R0, (_LEDFre + 1)
                                           ;comparing bytes at offset 1
000376   7a03     JB	0x3, 2                	JB	PSW, 2
000377   c37a     JMP	#0x37a               	JMP	_00270_DS_
                                           	BANKSEL	r0x105F
000378   0e96     MOVZ	R0, 0x96            	MOVZ	R0, r0x105F
                                           	BANKSEL	_LEDFre
000379   38d0     SUB	R0, 0xd0             	SUB	R0, _LEDFre
                                           _00270_DS_
00037a   7003     JNB	0x3, 0               	JNB	PSW, 0
00037b   c3ad     JMP	#0x3ad               	JMP	_00202_DS_
                                           ;	op : =
                                           ;	.line	490; "../main.c"	NoWaterTimecnt=0;
                                           	BANKSEL	_NoWaterTimecnt
00037c   03b7     CLR	0xb7                 	CLR	_NoWaterTimecnt
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	op : !
                                           ;	op : =
                                           ;	.line	491; "../main.c"	LED2=!LED2;
                                           	BANKSEL	_P2LR_bits
00037d   7a46     JB	0x46, 2               	JB	_P2LR_bits, 2
00037e   c381     JMP	#0x381               	JMP	_00271_DS_
                                           	BANKSEL	_P2LR_bits
00037f   6246     CLR	0x46, 2              	CLR	_P2LR_bits, 2
000380   c382     JMP	#0x382               	JMP	_00272_DS_
                                           _00271_DS_
                                           	BANKSEL	_P2LR_bits
000381   6a46     SET	0x46, 2              	SET	_P2LR_bits, 2
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	op : !
                                           ;	op : =
                                           _00272_DS_
                                           ;	.line	492; "../main.c"	LED1=!LED1;
                                           	BANKSEL	_P2LR_bits
000382   7946     JB	0x46, 1               	JB	_P2LR_bits, 1
000383   c386     JMP	#0x386               	JMP	_00273_DS_
                                           	BANKSEL	_P2LR_bits
000384   6146     CLR	0x46, 1              	CLR	_P2LR_bits, 1
000385   c387     JMP	#0x387               	JMP	_00274_DS_
                                           _00273_DS_
                                           	BANKSEL	_P2LR_bits
000386   6946     SET	0x46, 1              	SET	_P2LR_bits, 1
                                           ;	op : GOTO
                                           _00274_DS_
000387   c3ad     JMP	#0x3ad               	JMP	_00202_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00201_DS_
                                           ;	.line	498; "../main.c"	IO_FAN=0;///gy
                                           	BANKSEL	_P1LR_bits
000388   6047     CLR	0x47, 0              	CLR	_P1LR_bits, 0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	500; "../main.c"	if(!WorkOffFlag)
                                           	BANKSEL	_Flag
000389   75bd     JNB	0xbd, 5              	JNB	_Flag, 5
00038a   c3ad     JMP	#0x3ad               	JMP	_00202_DS_
                                           ;	op : =
                                           ;	.line	502; "../main.c"	WorkOffFlag=1;
                                           	BANKSEL	_Flag
00038b   6dbd     SET	0xbd, 5              	SET	_Flag, 5
                                           ;	op : =
                                           ;	.line	504; "../main.c"	PWM1ON=0;
                                           	BANKSEL	_PWMCTL_bits
00038c   6015     CLR	0x15, 0              	CLR	_PWMCTL_bits, 0
                                           ;	op : =
                                           ;	.line	505; "../main.c"	PWM_IO=0;
                                           	BANKSEL	_P0LR_bits
00038d   6245     CLR	0x45, 2              	CLR	_P0LR_bits, 2
                                           ;	op : =
                                           ;	.line	507; "../main.c"	LED1=LED_OFF;
                                           	BANKSEL	_P2LR_bits
00038e   6946     SET	0x46, 1              	SET	_P2LR_bits, 1
                                           ;	op : =
                                           ;	.line	508; "../main.c"	LED2=LED_OFF;
                                           	BANKSEL	_P2LR_bits
00038f   6a46     SET	0x46, 2              	SET	_P2LR_bits, 2
                                           ;	op : INLINEASM
000390   dfff     CALL	#0xfff              	CALL 0XFFF
000391   5130     MOV	0x30, R0             	MOV OSCCAL0, R0
000392   dffe     CALL	#0xffe              	CALL 0XFFE
000393   5137     MOV	0x37, R0             	MOV OSCCAL1, R0
000394   dffd     CALL	#0xffd              	CALL 0XFFD
000395   514c     MOV	0x4c, R0             	MOV OSCCAL2, R0
000396   dffc     CALL	#0xffc              	CALL 0XFFC
000397   514d     MOV	0x4d, R0             	MOV OSCCAL3, R0
                                           	
                                           ;	op : +
                                           ;	.line	523; "../main.c"	OSCCAL0 = OSCCAL0+10;
000398   980a     MOV	R0, #0xa             	MOV	R0,# 0x0a
000399   e100     MOVB	0                   	BANKSEL	_OSCCAL0
00039a   2130     ADD	0x30, R0             	ADD	_OSCCAL0, R0
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00193_DS_
                                           ;	.line	524; "../main.c"	while(KEY)		//ȴͷ
                                           	BANKSEL	_P0_bits
00039b   7b05     JB	0x5, 3                	JB	_P0_bits, 3
00039c   c3a1     JMP	#0x3a1               	JMP	_00195_DS_
                                           ;	op : INLINEASM
00039d   0064     CWDT                     	CWDT 
                                           ;	op : =
                                           ;	.line	527; "../main.c"	KeyDownNum=0;
                                           	BANKSEL	_KeyDownNum
00039e   03d8     CLR	0xd8                 	CLR	_KeyDownNum
                                           	BANKSEL	_KeyDownNum
00039f   03d9     CLR	0xd9                 	CLR	(_KeyDownNum + 1)
                                           ;	op : GOTO
0003a0   c39b     JMP	#0x39b               	JMP	_00193_DS_
                                           ;	op : LABEL
                                           ;	op : IFX
                                           _00195_DS_
                                           ;	.line	530; "../main.c"	if(NEED_CAL_IN_LINE)
0003a1   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	_NEED_CAL_IN_LINE
0003a2   309f     ORL	R0, 0x9f             	ORL	R0, _NEED_CAL_IN_LINE
0003a3   7203     JNB	0x3, 2               	JNB	PSW, 2
0003a4   c3ad     JMP	#0x3ad               	JMP	_00202_DS_
                                           ;	op : =
                                           ;	.line	532; "../main.c"	LED1=LED_ON;
                                           	BANKSEL	_P2LR_bits
0003a5   6146     CLR	0x46, 1              	CLR	_P2LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	533; "../main.c"	delay_ms(2000);
0003a6   98d0     MOV	R0, #0xd0            	MOV	R0,# 0xd0
0003a7   e101     MOVB	0x1                 	BANKSEL	STK00
0003a8   5193     MOV	0x93, R0             	MOV	STK00, R0
0003a9   9807     MOV	R0, #0x7             	MOV	R0,# 0x07
                                           	PAGESEL	_delay_ms
0003aa   dade     CALL	#0xade              	CALL	_delay_ms
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	534; "../main.c"	touch_process_flag=0;
0003ab   e100     MOVB	0                   	BANKSEL	_touch_process_flag
0003ac   03a0     CLR	0xa0                 	CLR	_touch_process_flag
                                           ;	op : LABEL
                                           ;	op : IFX
                                           _00202_DS_
                                           ;	.line	539; "../main.c"	if(touch_process_flag && !PWM1ON)
0003ad   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	_touch_process_flag
0003ae   30a0     ORL	R0, 0xa0             	ORL	R0, _touch_process_flag
0003af   7203     JNB	0x3, 2               	JNB	PSW, 2
0003b0   c448     JMP	#0x448               	JMP	_00214_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	_PWMCTL_bits
0003b1   7015     JNB	0x15, 0              	JNB	_PWMCTL_bits, 0
0003b2   c448     JMP	#0x448               	JMP	_00214_DS_
                                           ;	op : =
                                           ;	.line	541; "../main.c"	touch_process_flag = 0;
                                           	BANKSEL	_touch_process_flag
0003b3   03a0     CLR	0xa0                 	CLR	_touch_process_flag
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	543; "../main.c"	if(NoWaterFlag || !WorkOn)TOUCH_DEBUG_TRS_DEAL();   // Լ320ָ
                                           	BANKSEL	_AlarmFlag
0003b4   70bc     JNB	0xbc, 0              	JNB	_AlarmFlag, 0
0003b5   c3b8     JMP	#0x3b8               	JMP	_00203_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	_Flag
0003b6   70bd     JNB	0xbd, 0              	JNB	_Flag, 0
0003b7   c3b9     JMP	#0x3b9               	JMP	_00204_DS_
                                           ;	op : LABEL
                                           ;	op : CALL
                                           _00203_DS_
                                           	PAGESEL	_TOUCH_DEBUG_TRS_DEAL
0003b8   d579     CALL	#0x579              	CALL	_TOUCH_DEBUG_TRS_DEAL
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : CALL
                                           _00204_DS_
                                           ;	.line	545; "../main.c"	_KF8spts2w_LIBf_touch_process_();
                                           	PAGESEL	__KF8spts2w_LIBf_touch_process_
0003b9   d468     CALL	#0x468              	CALL	__KF8spts2w_LIBf_touch_process_
                                           	PAGESEL	$
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	547; "../main.c"	if(!NoWaterFlag && WorkOn)Water_Judge();
0003ba   e100     MOVB	0                   	BANKSEL	_AlarmFlag
0003bb   70bc     JNB	0xbc, 0              	JNB	_AlarmFlag, 0
0003bc   c3c0     JMP	#0x3c0               	JMP	_00207_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	_Flag
0003bd   78bd     JB	0xbd, 0               	JB	_Flag, 0
0003be   c3c0     JMP	#0x3c0               	JMP	_00207_DS_
                                           ;	op : CALL
                                           	PAGESEL	_Water_Judge
0003bf   dbd1     CALL	#0xbd1              	CALL	_Water_Judge
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : IFX
                                           _00207_DS_
                                           ;	.line	550; "../main.c"	if(NEED_CAL_IN_LINE)
0003c0   9800     MOV	R0, #0               	MOV	R0,# 0x00
0003c1   e100     MOVB	0                   	BANKSEL	_NEED_CAL_IN_LINE
0003c2   309f     ORL	R0, 0x9f             	ORL	R0, _NEED_CAL_IN_LINE
0003c3   7203     JNB	0x3, 2               	JNB	PSW, 2
0003c4   c448     JMP	#0x448               	JMP	_00214_DS_
                                           ;	op : =
                                           ;	.line	552; "../main.c"	if(cnt++>200)
                                           	BANKSEL	_cnt
0003c5   0eb2     MOVZ	R0, 0xb2            	MOVZ	R0, _cnt
                                           	BANKSEL	r0x105F
0003c6   5196     MOV	0x96, R0             	MOV	r0x105F, R0
                                           ;	op : +
                                           	BANKSEL	_cnt
0003c7   0bb2     INC	0xb2                 	INC	_cnt
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0xC9=201), size=1
0003c8   98c9     MOV	R0, #0xc9            	MOV	R0,# 0xc9
                                           	BANKSEL	r0x105F
0003c9   3896     SUB	R0, 0x96             	SUB	R0, r0x105F
                                           ;comparing bytes at offset 0
0003ca   7803     JB	0x3, 0                	JB	PSW, 0
0003cb   c448     JMP	#0x448               	JMP	_00214_DS_
                                           ;	op : =
                                           ;	.line	554; "../main.c"	NEED_CAL_IN_LINE=0;
                                           	BANKSEL	_NEED_CAL_IN_LINE
0003cc   039f     CLR	0x9f                 	CLR	_NEED_CAL_IN_LINE
                                           ;	op : =
                                           ;	.line	555; "../main.c"	for(i=0;i<CHS_AMOUNT;i++)
                                           	BANKSEL	r0x105F
0003cd   0396     CLR	0x96                 	CLR	r0x105F
                                           ;	op : LABEL
                                           ;	op : =
                                           ;gen_assign from CODESPACE
                                           _00221_DS_
0003ce   990c     MOV	R1, #0xc             	MOV	R1,# high (_CHS_AMOUNT+0)
0003cf   9800     MOV	R0, #0               	MOV	R0,# low (_CHS_AMOUNT+0)
                                           	PAGESEL	__R2PCL
0003d0   dbfe     CALL	#0xbfe              	CALL	__R2PCL
                                           	PAGESEL	$
0003d1   e100     MOVB	0                   	BANKSEL	r0x105E
0003d2   5195     MOV	0x95, R0             	MOV	r0x105E, R0
                                           ;	op : <
                                           	BANKSEL	r0x105E
0003d3   0e95     MOVZ	R0, 0x95            	MOVZ	R0, r0x105E
                                           	BANKSEL	r0x105F
0003d4   3896     SUB	R0, 0x96             	SUB	R0, r0x105F
                                           ;comparing bytes at offset 0
0003d5   7003     JNB	0x3, 0               	JNB	PSW, 0
0003d6   c433     JMP	#0x433               	JMP	_00224_DS_
                                           ;	op : LEFT_OP
                                           ;	.line	557; "../main.c"	_KF8_LIBi_buff_baseline_[i]=_KF8_LIBi_buff_hit_[i];
0003d7   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	r0x105F
0003d8   1296     RLCR	0x96                	RLCR	r0x105F
                                           	BANKSEL	r0x105E
0003d9   5195     MOV	0x95, R0             	MOV	r0x105E, R0
                                           ;	op : +
0003da   98e8     MOV	R0, #0xe8            	MOV	R0,# (__KF8_LIBi_buff_baseline_ + 0)
                                           	BANKSEL	r0x105E
0003db   2195     ADD	0x95, R0             	ADD	r0x105E, R0
                                           ;	op : LEFT_OP
0003dc   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	r0x105F
0003dd   1296     RLCR	0x96                	RLCR	r0x105F
                                           	BANKSEL	r0x1061
0003de   5193     MOV	0x93, R0             	MOV	r0x1061, R0
                                           ;	op : +
0003df   98ec     MOV	R0, #0xec            	MOV	R0,# (__KF8_LIBi_buff_hit_ + 0)
                                           	BANKSEL	r0x1061
0003e0   2193     ADD	0x93, R0             	ADD	r0x1061, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1061
0003e1   5293     MOV	R1, 0x93             	MOV	R1, r0x1061
                                           	BANKSEL	__KF8_LIBi_buff_hit_
0003e2   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x1063
0003e3   5191     MOV	0x91, R0             	MOV	r0x1063, R0
0003e4   ff11     INC	R1                   	INC	R1
                                           	BANKSEL	__KF8_LIBi_buff_hit_
0003e5   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x1064
0003e6   5190     MOV	0x90, R0             	MOV	r0x1064, R0
                                           ;	op : =
                                           	BANKSEL	r0x1063
0003e7   0e91     MOVZ	R0, 0x91            	MOVZ	R0, r0x1063
                                           	BANKSEL	r0x105E
0003e8   5295     MOV	R1, 0x95             	MOV	R1, r0x105E
                                           	BANKSEL	__KF8_LIBi_buff_baseline_
0003e9   f741     ST	[R1], R0              	ST	[R1], R0
0003ea   ff11     INC	R1                   	INC	R1
                                           	BANKSEL	r0x1064
0003eb   0e90     MOVZ	R0, 0x90            	MOVZ	R0, r0x1064
                                           	BANKSEL	__KF8_LIBi_buff_baseline_
0003ec   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : LEFT_OP
                                           ;	.line	558; "../main.c"	_KF8_LIBi_buff_refline_[i]=_KF8_LIBi_buff_hit_[i];
0003ed   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	r0x105F
0003ee   1296     RLCR	0x96                	RLCR	r0x105F
                                           	BANKSEL	r0x105E
0003ef   5195     MOV	0x95, R0             	MOV	r0x105E, R0
                                           ;	op : +
0003f0   98e4     MOV	R0, #0xe4            	MOV	R0,# (__KF8_LIBi_buff_refline_ + 0)
                                           	BANKSEL	r0x105E
0003f1   2195     ADD	0x95, R0             	ADD	r0x105E, R0
                                           ;	op : LEFT_OP
0003f2   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	r0x105F
0003f3   1296     RLCR	0x96                	RLCR	r0x105F
                                           	BANKSEL	r0x1061
0003f4   5193     MOV	0x93, R0             	MOV	r0x1061, R0
                                           ;	op : +
0003f5   98ec     MOV	R0, #0xec            	MOV	R0,# (__KF8_LIBi_buff_hit_ + 0)
                                           	BANKSEL	r0x1061
0003f6   2193     ADD	0x93, R0             	ADD	r0x1061, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1061
0003f7   5293     MOV	R1, 0x93             	MOV	R1, r0x1061
                                           	BANKSEL	__KF8_LIBi_buff_hit_
0003f8   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x1063
0003f9   5191     MOV	0x91, R0             	MOV	r0x1063, R0
0003fa   ff11     INC	R1                   	INC	R1
                                           	BANKSEL	__KF8_LIBi_buff_hit_
0003fb   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x1064
0003fc   5190     MOV	0x90, R0             	MOV	r0x1064, R0
                                           ;	op : =
                                           	BANKSEL	r0x1063
0003fd   0e91     MOVZ	R0, 0x91            	MOVZ	R0, r0x1063
                                           	BANKSEL	r0x105E
0003fe   5295     MOV	R1, 0x95             	MOV	R1, r0x105E
                                           	BANKSEL	__KF8_LIBi_buff_refline_
0003ff   f741     ST	[R1], R0              	ST	[R1], R0
000400   ff11     INC	R1                   	INC	R1
                                           	BANKSEL	r0x1064
000401   0e90     MOVZ	R0, 0x90            	MOVZ	R0, r0x1064
                                           	BANKSEL	__KF8_LIBi_buff_refline_
000402   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : LEFT_OP
                                           ;	.line	559; "../main.c"	Arr_erom_TS2W_[2*i+1]=(unsigned char)(_KF8_LIBi_buff_hit_[i]>>8);
000403   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	r0x105F
000404   1296     RLCR	0x96                	RLCR	r0x105F
                                           	BANKSEL	r0x105E
000405   5195     MOV	0x95, R0             	MOV	r0x105E, R0
                                           ;	op : +
                                           	BANKSEL	r0x105E
000406   0b95     INC	0x95                 	INC	r0x105E
                                           ;	op : +
000407   98ca     MOV	R0, #0xca            	MOV	R0,# (_Arr_erom_TS2W_ + 0)
                                           	BANKSEL	r0x105E
000408   2195     ADD	0x95, R0             	ADD	r0x105E, R0
                                           ;	op : LEFT_OP
000409   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	r0x105F
00040a   1296     RLCR	0x96                	RLCR	r0x105F
                                           	BANKSEL	r0x1061
00040b   5193     MOV	0x93, R0             	MOV	r0x1061, R0
                                           ;	op : +
00040c   98ec     MOV	R0, #0xec            	MOV	R0,# (__KF8_LIBi_buff_hit_ + 0)
                                           	BANKSEL	r0x1061
00040d   2193     ADD	0x93, R0             	ADD	r0x1061, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1061
00040e   5293     MOV	R1, 0x93             	MOV	R1, r0x1061
                                           	BANKSEL	__KF8_LIBi_buff_hit_
00040f   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x1063
000410   5191     MOV	0x91, R0             	MOV	r0x1063, R0
000411   ff11     INC	R1                   	INC	R1
                                           	BANKSEL	__KF8_LIBi_buff_hit_
000412   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x1061
000413   5193     MOV	0x93, R0             	MOV	r0x1061, R0
                                           	BANKSEL	r0x1064
000414   5190     MOV	0x90, R0             	MOV	r0x1064, R0
                                           ;	op : RIGHT_OP
                                           ;;108	MOVZ	R0, r0x1064
                                           	BANKSEL	r0x1062
000415   0392     CLR	0x92                 	CLR	r0x1062
                                           ;	op : CAST
                                           ;;107	MOVZ	R0, r0x1061
                                           ;	op : =
                                           ;;106	MOVZ	R0, r0x1063
                                           	BANKSEL	r0x1061
000416   0e93     MOVZ	R0, 0x93            	MOVZ	R0, r0x1061
                                           	BANKSEL	r0x1063
000417   5191     MOV	0x91, R0             	MOV	r0x1063, R0
                                           	BANKSEL	r0x105E
000418   5295     MOV	R1, 0x95             	MOV	R1, r0x105E
000419   e101     MOVB	0x1                 	BANKSEL	_Arr_erom_TS2W_
00041a   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : LEFT_OP
                                           ;	.line	560; "../main.c"	Arr_erom_TS2W_[2*i+0]=(unsigned char)(_KF8_LIBi_buff_hit_[i]);
00041b   6003     CLR	0x3, 0               	CLR	PSW, 0
00041c   e100     MOVB	0                   	BANKSEL	r0x105F
00041d   1296     RLCR	0x96                	RLCR	r0x105F
                                           	BANKSEL	r0x105E
00041e   5195     MOV	0x95, R0             	MOV	r0x105E, R0
                                           ;	op : +
00041f   98ca     MOV	R0, #0xca            	MOV	R0,# (_Arr_erom_TS2W_ + 0)
                                           	BANKSEL	r0x105E
000420   2195     ADD	0x95, R0             	ADD	r0x105E, R0
                                           ;	op : LEFT_OP
000421   6003     CLR	0x3, 0               	CLR	PSW, 0
                                           	BANKSEL	r0x105F
000422   1296     RLCR	0x96                	RLCR	r0x105F
                                           	BANKSEL	r0x1061
000423   5193     MOV	0x93, R0             	MOV	r0x1061, R0
                                           ;	op : +
000424   98ec     MOV	R0, #0xec            	MOV	R0,# (__KF8_LIBi_buff_hit_ + 0)
                                           	BANKSEL	r0x1061
000425   2193     ADD	0x93, R0             	ADD	r0x1061, R0
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	r0x1061
000426   5293     MOV	R1, 0x93             	MOV	R1, r0x1061
                                           	BANKSEL	__KF8_LIBi_buff_hit_
000427   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           	BANKSEL	r0x1063
000428   5191     MOV	0x91, R0             	MOV	r0x1063, R0
000429   ff11     INC	R1                   	INC	R1
                                           	BANKSEL	__KF8_LIBi_buff_hit_
00042a   f708     LD	R0, [R1]              	LD	R0, [R1]
                                           ;;1	MOV	r0x1065, R0
                                           ;	op : CAST
                                           ;;105	MOVZ	R0, r0x1063
                                           ;	op : =
                                           ;;104	MOVZ	R0, r0x1061
                                           	BANKSEL	r0x1063
00042b   0e91     MOVZ	R0, 0x91            	MOVZ	R0, r0x1063
                                           	BANKSEL	r0x1061
00042c   5193     MOV	0x93, R0             	MOV	r0x1061, R0
                                           	BANKSEL	r0x105E
00042d   5295     MOV	R1, 0x95             	MOV	R1, r0x105E
00042e   e101     MOVB	0x1                 	BANKSEL	_Arr_erom_TS2W_
00042f   f741     ST	[R1], R0              	ST	[R1], R0
                                           ;	op : +
                                           ;	.line	555; "../main.c"	for(i=0;i<CHS_AMOUNT;i++)
000430   e100     MOVB	0                   	BANKSEL	r0x105F
000431   0b96     INC	0x96                 	INC	r0x105F
                                           ;	op : GOTO
000432   c3ce     JMP	#0x3ce               	JMP	_00221_DS_
                                           ;	op : LABEL
                                           ;	op : CALL
                                           _00224_DS_
                                           ;	.line	562; "../main.c"	write_eep_ts2w_();
                                           	PAGESEL	_write_eep_ts2w_
000433   d92b     CALL	#0x92b              	CALL	_write_eep_ts2w_
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	564; "../main.c"	for(i=0;i<10;i++)
000434   e100     MOVB	0                   	BANKSEL	r0x105F
000435   0396     CLR	0x96                 	CLR	r0x105F
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0xA=10), size=1
                                           _00225_DS_
000436   980a     MOV	R0, #0xa             	MOV	R0,# 0x0a
                                           	BANKSEL	r0x105F
000437   3896     SUB	R0, 0x96             	SUB	R0, r0x105F
                                           ;comparing bytes at offset 0
000438   7003     JNB	0x3, 0               	JNB	PSW, 0
000439   c447     JMP	#0x447               	JMP	_00228_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	op : !
                                           ;	op : =
                                           ;	.line	566; "../main.c"	LED1=!LED1;
                                           	BANKSEL	_P2LR_bits
00043a   7946     JB	0x46, 1               	JB	_P2LR_bits, 1
00043b   c43e     JMP	#0x43e               	JMP	_00278_DS_
                                           	BANKSEL	_P2LR_bits
00043c   6146     CLR	0x46, 1              	CLR	_P2LR_bits, 1
00043d   c43f     JMP	#0x43f               	JMP	_00279_DS_
                                           _00278_DS_
                                           	BANKSEL	_P2LR_bits
00043e   6946     SET	0x46, 1              	SET	_P2LR_bits, 1
                                           ;	op : SEND
                                           ;	op : CALL
                                           _00279_DS_
                                           ;	.line	567; "../main.c"	delay_ms(200);
00043f   98c8     MOV	R0, #0xc8            	MOV	R0,# 0xc8
000440   e101     MOVB	0x1                 	BANKSEL	STK00
000441   5193     MOV	0x93, R0             	MOV	STK00, R0
000442   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_ms
000443   dade     CALL	#0xade              	CALL	_delay_ms
                                           	PAGESEL	$
                                           ;	op : +
                                           ;	.line	564; "../main.c"	for(i=0;i<10;i++)
000444   e100     MOVB	0                   	BANKSEL	r0x105F
000445   0b96     INC	0x96                 	INC	r0x105F
                                           ;	op : GOTO
000446   c436     JMP	#0x436               	JMP	_00225_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00228_DS_
                                           ;	.line	569; "../main.c"	LED1=LED_OFF;
                                           	BANKSEL	_P2LR_bits
000447   6946     SET	0x46, 1              	SET	_P2LR_bits, 1
                                           ;	op : LABEL
                                           ;	op : +
                                           _00214_DS_
                                           ;	.line	574; "../main.c"	Touch_Watch++;
                                           	BANKSEL	_Touch_Watch
000448   0bbe     INC	0xbe                 	INC	_Touch_Watch
000449   7a03     JB	0x3, 2                	JB	PSW, 2
00044a   c44c     JMP	#0x44c               	JMP	_00290_DS_
                                           	BANKSEL	_Touch_Watch
00044b   0bbf     INC	0xbf                 	INC	(_Touch_Watch + 1)
                                           ;	op : CAST
                                           _00290_DS_
                                           ;	.line	575; "../main.c"	if(Touch_Watch>=50000) // ϸʱ
                                           	BANKSEL	_Touch_Watch
00044c   0ebe     MOVZ	R0, 0xbe            	MOVZ	R0, _Touch_Watch
                                           	BANKSEL	r0x105F
00044d   5196     MOV	0x96, R0             	MOV	r0x105F, R0
                                           	BANKSEL	_Touch_Watch
00044e   0ebf     MOVZ	R0, 0xbf            	MOVZ	R0, (_Touch_Watch + 1)
                                           	BANKSEL	r0x105E
00044f   5195     MOV	0x95, R0             	MOV	r0x105E, R0
                                           	BANKSEL	r0x1060
000450   0394     CLR	0x94                 	CLR	r0x1060
                                           	BANKSEL	r0x1061
000451   0393     CLR	0x93                 	CLR	r0x1061
                                           ;	op : <
                                           ;signed compare: left < lit(0xC350=50000), size=4, mask=ffffffff
000452   9800     MOV	R0, #0               	MOV	R0,# 0x00
000453   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
000454   8080     ADD	R0, #0x80            	ADD	R0,# 0x80
                                           ;comparing bytes at offset 3
000455   7a03     JB	0x3, 2                	JB	PSW, 2
000456   c461     JMP	#0x461               	JMP	_00280_DS_
000457   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	r0x1060
000458   3894     SUB	R0, 0x94             	SUB	R0, r0x1060
000459   7a03     JB	0x3, 2                	JB	PSW, 2
00045a   c461     JMP	#0x461               	JMP	_00280_DS_
00045b   98c3     MOV	R0, #0xc3            	MOV	R0,# 0xc3
                                           	BANKSEL	r0x105E
00045c   3895     SUB	R0, 0x95             	SUB	R0, r0x105E
00045d   7a03     JB	0x3, 2                	JB	PSW, 2
00045e   c461     JMP	#0x461               	JMP	_00280_DS_
00045f   9850     MOV	R0, #0x50            	MOV	R0,# 0x50
                                           	BANKSEL	r0x105F
000460   3896     SUB	R0, 0x96             	SUB	R0, r0x105F
                                           _00280_DS_
000461   7803     JB	0x3, 0                	JB	PSW, 0
000462   c267     JMP	#0x267               	JMP	_00219_DS_
                                           ;	op : =
                                           ;	.line	577; "../main.c"	Touch_Watch=0;
                                           	BANKSEL	_Touch_Watch
000463   03be     CLR	0xbe                 	CLR	_Touch_Watch
                                           	BANKSEL	_Touch_Watch
000464   03bf     CLR	0xbf                 	CLR	(_Touch_Watch + 1)
                                           ;	op : CALL
                                           ;	.line	578; "../main.c"	_KF8spts2w_LIBf_init_touch_();
                                           	PAGESEL	__KF8spts2w_LIBf_init_touch_
000465   daaa     CALL	#0xaaa              	CALL	__KF8spts2w_LIBf_init_touch_
                                           	PAGESEL	$
                                           ;	op : GOTO
000466   c267     JMP	#0x267               	JMP	_00219_DS_
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000467   0008     CRET                     	CRET	
                                           ; exit point of _main
                                           
                                           
                                           
                                           func._ADCRead	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _ADCRead	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _delay_us
                                           ;   _delay_us
                                           ;5 compiler assigned registers:
                                           ;   STK00
                                           ;   r0x105A
                                           ;   r0x105B
                                           ;   r0x105C
                                           ;   r0x105D
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _ADCRead	;Function start
                                           ; 2 exit points
                                           ;	op : RECEIVE
                                           ;	.line	343; "../main.c"	uint ADCRead(uchar channel)
000b05   e100     MOVB	0                   	BANKSEL	_ADCCTL0
000b06   511f     MOV	0x1f, R0             	MOV	_ADCCTL0, R0
                                           ;	op : SEND
                                           ;	op : CALL
                                           ;	.line	348; "../main.c"	delay_us(10);
000b07   980a     MOV	R0, #0xa             	MOV	R0,# 0x0a
000b08   e101     MOVB	0x1                 	BANKSEL	STK00
000b09   5193     MOV	0x93, R0             	MOV	STK00, R0
000b0a   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	PAGESEL	_delay_us
000b0b   dbb0     CALL	#0xbb0              	CALL	_delay_us
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	350; "../main.c"	START = 1;  //ADڽת
000b0c   e100     MOVB	0                   	BANKSEL	_ADCCTL0_bits
000b0d   691f     SET	0x1f, 1              	SET	_ADCCTL0_bits, 1
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00159_DS_
                                           ;	.line	351; "../main.c"	while(START);
                                           	BANKSEL	_ADCCTL0_bits
000b0e   711f     JNB	0x1f, 1              	JNB	_ADCCTL0_bits, 1
000b0f   cb0e     JMP	#0xb0e               	JMP	_00159_DS_
                                           ;	op : CAST
                                           ;	.line	352; "../main.c"	result = ADCDATA0H*256 + ADCDATA0L;
                                           	BANKSEL	_ADCDATA0H
000b10   0e1e     MOVZ	R0, 0x1e            	MOVZ	R0, _ADCDATA0H
                                           	BANKSEL	r0x105C
000b11   5197     MOV	0x97, R0             	MOV	r0x105C, R0
                                           	BANKSEL	r0x105A
000b12   519a     MOV	0x9a, R0             	MOV	r0x105A, R0
                                           	BANKSEL	r0x105B
000b13   0399     CLR	0x99                 	CLR	r0x105B
                                           ;	op : LEFT_OP
                                           ;;109	MOVZ	R0, r0x105A
                                           	BANKSEL	r0x105D
000b14   0398     CLR	0x98                 	CLR	r0x105D
                                           ;	op : CAST
                                           	BANKSEL	_ADCDATA0L
000b15   0e3e     MOVZ	R0, 0x3e            	MOVZ	R0, _ADCDATA0L
                                           	BANKSEL	r0x105A
000b16   519a     MOV	0x9a, R0             	MOV	r0x105A, R0
                                           	BANKSEL	r0x105B
000b17   0399     CLR	0x99                 	CLR	r0x105B
                                           ;	op : +
                                           	BANKSEL	r0x105A
000b18   509a     MOV	R0, 0x9a             	MOV	R0, r0x105A
                                           	BANKSEL	r0x105D
000b19   2198     ADD	0x98, R0             	ADD	r0x105D, R0
000b1a   9800     MOV	R0, #0               	MOV	R0,# 0x00
000b1b   7003     JNB	0x3, 0               	JNB	PSW, 0
000b1c   ff10     INC	R0                   	INC	R0
000b1d   7203     JNB	0x3, 2               	JNB	PSW, 2
000b1e   cb20     JMP	#0xb20               	JMP	_00291_DS_
                                           	BANKSEL	r0x105C
000b1f   2197     ADD	0x97, R0             	ADD	r0x105C, R0
                                           ;	op : CAST
                                           ;;100	MOVZ	R0, r0x105D
                                           ;;102	MOVZ	R0, r0x105C
                                           ;	op : RETURN
                                           ;;99	MOVZ	R0, r0x105A
                                           _00291_DS_
                                           ;	.line	353; "../main.c"	return	result;
                                           	BANKSEL	r0x105D
000b20   0e98     MOVZ	R0, 0x98            	MOVZ	R0, r0x105D
                                           	BANKSEL	r0x105A
000b21   519a     MOV	0x9a, R0             	MOV	r0x105A, R0
000b22   e101     MOVB	0x1                 	BANKSEL	STK00
000b23   5193     MOV	0x93, R0             	MOV	STK00, R0
                                           ;;101	MOVZ	R0, r0x105B
000b24   e100     MOVB	0                   	BANKSEL	r0x105C
000b25   0e97     MOVZ	R0, 0x97            	MOVZ	R0, r0x105C
                                           	BANKSEL	r0x105B
000b26   5199     MOV	0x99, R0             	MOV	r0x105B, R0
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000b27   0008     CRET                     	CRET	
                                           ; exit point of _ADCRead
                                           
                                           
                                           
                                           func._KeyFun	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _KeyFun	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;functions called:
                                           ;   _Init_data
                                           ;   _Init_data
                                           ;   _Init_data
                                           ;   _Init_data
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _KeyFun	;Function start
                                           ; 2 exit points
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	266; "../main.c"	if(LongKeyFlag)
000974   e100     MOVB	0                   	BANKSEL	_Flag
000975   7abd     JB	0xbd, 2               	JB	_Flag, 2
000976   c98a     JMP	#0x98a               	JMP	_00127_DS_
                                           ;	op : =
                                           ;	.line	268; "../main.c"	LongKeyFlag=0;
                                           	BANKSEL	_Flag
000977   62bd     CLR	0xbd, 2              	CLR	_Flag, 2
                                           ;	op : =
                                           ;	.line	270; "../main.c"	KeyReadFlag=1;
                                           	BANKSEL	_Flag
000978   6cbd     SET	0xbd, 4              	SET	_Flag, 4
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	op : !
                                           ;	op : =
                                           ;	.line	272; "../main.c"	WorkOn=!WorkOn;
                                           	BANKSEL	_Flag
000979   78bd     JB	0xbd, 0               	JB	_Flag, 0
00097a   c97d     JMP	#0x97d               	JMP	_00157_DS_
                                           	BANKSEL	_Flag
00097b   60bd     CLR	0xbd, 0              	CLR	_Flag, 0
00097c   c97e     JMP	#0x97e               	JMP	_00158_DS_
                                           _00157_DS_
                                           	BANKSEL	_Flag
00097d   68bd     SET	0xbd, 0              	SET	_Flag, 0
                                           ;	op : =
                                           _00158_DS_
                                           ;	.line	274; "../main.c"	Power=Max;
00097e   981e     MOV	R0, #0x1e            	MOV	R0,# 0x1e
                                           	BANKSEL	_Power
00097f   51b4     MOV	0xb4, R0             	MOV	_Power, R0
                                           ;	op : =
                                           ;	.line	276; "../main.c"	CurrentAdjustNum=I_ADJUST_NUM;
000980   980e     MOV	R0, #0xe             	MOV	R0,# 0x0e
                                           	BANKSEL	_CurrentAdjustNum
000981   51da     MOV	0xda, R0             	MOV	_CurrentAdjustNum, R0
000982   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
                                           	BANKSEL	_CurrentAdjustNum
000983   51db     MOV	0xdb, R0             	MOV	(_CurrentAdjustNum + 1), R0
                                           ;	op : =
                                           ;	.line	278; "../main.c"	LEDFre=LEDFre_INIT;
000984   9832     MOV	R0, #0x32            	MOV	R0,# 0x32
                                           	BANKSEL	_LEDFre
000985   51d0     MOV	0xd0, R0             	MOV	_LEDFre, R0
                                           	BANKSEL	_LEDFre
000986   03d1     CLR	0xd1                 	CLR	(_LEDFre + 1)
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	280; "../main.c"	if(!WorkOn)
                                           	BANKSEL	_Flag
000987   70bd     JNB	0xbd, 0              	JNB	_Flag, 0
000988   c98a     JMP	#0x98a               	JMP	_00127_DS_
                                           ;	op : CALL
                                           ;	.line	282; "../main.c"	Init_data();
                                           	PAGESEL	_Init_data
000989   db4a     CALL	#0xb4a              	CALL	_Init_data
                                           	PAGESEL	$
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00127_DS_
                                           ;	.line	286; "../main.c"	if(LongKeycacFlag && !WorkOn)			//Уˮλ
00098a   e100     MOVB	0                   	BANKSEL	_Flag
00098b   7ebd     JB	0xbd, 6               	JB	_Flag, 6
00098c   c997     JMP	#0x997               	JMP	_00129_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	_Flag
00098d   70bd     JNB	0xbd, 0              	JNB	_Flag, 0
00098e   c997     JMP	#0x997               	JMP	_00129_DS_
                                           ;	op : =
                                           ;	.line	288; "../main.c"	LongKeycacFlag=0;
                                           	BANKSEL	_Flag
00098f   66bd     CLR	0xbd, 6              	CLR	_Flag, 6
                                           ;	op : =
                                           ;	.line	289; "../main.c"	KeyReadFlag=1;
                                           	BANKSEL	_Flag
000990   6cbd     SET	0xbd, 4              	SET	_Flag, 4
                                           ;	op : =
                                           ;	.line	290; "../main.c"	WorkOn=0;
                                           	BANKSEL	_Flag
000991   60bd     CLR	0xbd, 0              	CLR	_Flag, 0
                                           ;	op : CALL
                                           ;	.line	291; "../main.c"	Init_data();
                                           	PAGESEL	_Init_data
000992   db4a     CALL	#0xb4a              	CALL	_Init_data
                                           	PAGESEL	$
                                           ;	op : =
                                           ;	.line	292; "../main.c"	NEED_CAL_IN_LINE=1;
000993   9801     MOV	R0, #0x1             	MOV	R0,# 0x01
000994   e100     MOVB	0                   	BANKSEL	_NEED_CAL_IN_LINE
000995   519f     MOV	0x9f, R0             	MOV	_NEED_CAL_IN_LINE, R0
                                           ;	op : =
                                           ;	.line	293; "../main.c"	cnt=0;
                                           	BANKSEL	_cnt
000996   03b2     CLR	0xb2                 	CLR	_cnt
                                           ;	op : LABEL
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           _00129_DS_
                                           ;	.line	296; "../main.c"	if(ShortKeyFlag)
                                           	BANKSEL	_Flag
000997   7bbd     JB	0xbd, 3               	JB	_Flag, 3
000998   c9b6     JMP	#0x9b6               	JMP	_00145_DS_
                                           ;	op : =
                                           ;	.line	298; "../main.c"	ShortKeyFlag=0;
                                           	BANKSEL	_Flag
000999   63bd     CLR	0xbd, 3              	CLR	_Flag, 3
                                           ;	op : =
                                           ;	.line	300; "../main.c"	KeyReadFlag=1;
                                           	BANKSEL	_Flag
00099a   6cbd     SET	0xbd, 4              	SET	_Flag, 4
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           ;	.line	302; "../main.c"	if(WorkOn && !NoWaterFlag)
                                           	BANKSEL	_Flag
00099b   78bd     JB	0xbd, 0               	JB	_Flag, 0
00099c   c9b6     JMP	#0x9b6               	JMP	_00145_DS_
                                           ;	op : GET_VALUE_AT_ADDRESS
                                           	BANKSEL	_AlarmFlag
00099d   70bc     JNB	0xbc, 0              	JNB	_AlarmFlag, 0
00099e   c9b6     JMP	#0x9b6               	JMP	_00145_DS_
                                           ;	op : EQ_OP
                                           ;	.line	306; "../main.c"	if(Power==Max)
                                           	BANKSEL	_Power
00099f   0eb4     MOVZ	R0, 0xb4            	MOVZ	R0, _Power
0009a0   a81e     XOR	R0, #0x1e            	XOR	R0,# 0x1e
0009a1   7a03     JB	0x3, 2                	JB	PSW, 2
0009a2   c9a6     JMP	#0x9a6               	JMP	_00138_DS_
                                           ;	op : =
                                           ;	.line	308; "../main.c"	Power=Min;
0009a3   9814     MOV	R0, #0x14            	MOV	R0,# 0x14
                                           	BANKSEL	_Power
0009a4   51b4     MOV	0xb4, R0             	MOV	_Power, R0
                                           ;	op : GOTO
0009a5   c9b6     JMP	#0x9b6               	JMP	_00145_DS_
                                           ;	op : LABEL
                                           ;	op : EQ_OP
                                           _00138_DS_
                                           ;	.line	310; "../main.c"	else if(Power==Min)
                                           	BANKSEL	_Power
0009a6   0eb4     MOVZ	R0, 0xb4            	MOVZ	R0, _Power
0009a7   a814     XOR	R0, #0x14            	XOR	R0,# 0x14
0009a8   7a03     JB	0x3, 2                	JB	PSW, 2
0009a9   c9ad     JMP	#0x9ad               	JMP	_00135_DS_
                                           ;	op : =
                                           ;	.line	312; "../main.c"	Power=Mid;
0009aa   9819     MOV	R0, #0x19            	MOV	R0,# 0x19
                                           	BANKSEL	_Power
0009ab   51b4     MOV	0xb4, R0             	MOV	_Power, R0
                                           ;	op : GOTO
0009ac   c9b6     JMP	#0x9b6               	JMP	_00145_DS_
                                           ;	op : LABEL
                                           ;	op : EQ_OP
                                           _00135_DS_
                                           ;	.line	314; "../main.c"	else if(Power==Mid)
                                           	BANKSEL	_Power
0009ad   0eb4     MOVZ	R0, 0xb4            	MOVZ	R0, _Power
0009ae   a819     XOR	R0, #0x19            	XOR	R0,# 0x19
0009af   7a03     JB	0x3, 2                	JB	PSW, 2
0009b0   c9b4     JMP	#0x9b4               	JMP	_00132_DS_
                                           ;	op : =
                                           ;	.line	316; "../main.c"	Power=Max;
0009b1   981e     MOV	R0, #0x1e            	MOV	R0,# 0x1e
                                           	BANKSEL	_Power
0009b2   51b4     MOV	0xb4, R0             	MOV	_Power, R0
                                           ;	op : GOTO
0009b3   c9b6     JMP	#0x9b6               	JMP	_00145_DS_
                                           ;	op : LABEL
                                           ;	op : =
                                           _00132_DS_
                                           ;	.line	320; "../main.c"	Power=Mid;
0009b4   9819     MOV	R0, #0x19            	MOV	R0,# 0x19
                                           	BANKSEL	_Power
0009b5   51b4     MOV	0xb4, R0             	MOV	_Power, R0
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00145_DS_
0009b6   0008     CRET                     	CRET	
                                           ; exit point of _KeyFun
                                           
                                           
                                           
                                           func._Init_data	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _Init_data	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _Init_data	;Function start
                                           ; 2 exit points
                                           ;	op : =
                                           ;	.line	235; "../main.c"	Flag.AllByte=0;
000b4a   e100     MOVB	0                   	BANKSEL	_Flag
000b4b   03bd     CLR	0xbd                 	CLR	 (_Flag + 0)
                                           ;	op : =
                                           ;	.line	236; "../main.c"	AlarmFlag.AllByte=0;
                                           	BANKSEL	_AlarmFlag
000b4c   03bc     CLR	0xbc                 	CLR	 (_AlarmFlag + 0)
                                           ;	op : =
                                           ;	.line	237; "../main.c"	CurrentAdjustNum=0;
                                           	BANKSEL	_CurrentAdjustNum
000b4d   03da     CLR	0xda                 	CLR	_CurrentAdjustNum
                                           	BANKSEL	_CurrentAdjustNum
000b4e   03db     CLR	0xdb                 	CLR	(_CurrentAdjustNum + 1)
                                           ;	op : =
                                           ;	.line	240; "../main.c"	Time20MScnt=0;
                                           	BANKSEL	_Time20MScnt
000b4f   03bb     CLR	0xbb                 	CLR	_Time20MScnt
                                           ;	op : =
                                           ;	.line	241; "../main.c"	V_NoWatercnt=0;
                                           	BANKSEL	_V_NoWatercnt
000b50   03ba     CLR	0xba                 	CLR	_V_NoWatercnt
                                           ;	op : =
                                           ;	.line	242; "../main.c"	I_NoWatercnt=0;
                                           	BANKSEL	_I_NoWatercnt
000b51   03b9     CLR	0xb9                 	CLR	_I_NoWatercnt
                                           ;	op : =
                                           ;	.line	243; "../main.c"	AdjustOvercnt=0;
                                           	BANKSEL	_AdjustOvercnt
000b52   03b8     CLR	0xb8                 	CLR	_AdjustOvercnt
                                           ;	op : =
                                           ;	.line	244; "../main.c"	NoWaterTimecnt=0;
                                           	BANKSEL	_NoWaterTimecnt
000b53   03b7     CLR	0xb7                 	CLR	_NoWaterTimecnt
                                           ;	op : =
                                           ;	.line	245; "../main.c"	main_cnt=0;
                                           	BANKSEL	_main_cnt
000b54   03b6     CLR	0xb6                 	CLR	_main_cnt
                                           ;	op : =
                                           ;	.line	246; "../main.c"	SubNum=0;
                                           	BANKSEL	_SubNum
000b55   03b5     CLR	0xb5                 	CLR	_SubNum
                                           ;	op : =
                                           ;	.line	247; "../main.c"	AD_temp_V=0;
                                           	BANKSEL	_AD_temp_V
000b56   03f8     CLR	0xf8                 	CLR	_AD_temp_V
                                           	BANKSEL	_AD_temp_V
000b57   03f9     CLR	0xf9                 	CLR	(_AD_temp_V + 1)
                                           	BANKSEL	_AD_temp_V
000b58   03fa     CLR	0xfa                 	CLR	(_AD_temp_V + 2)
                                           	BANKSEL	_AD_temp_V
000b59   03fb     CLR	0xfb                 	CLR	(_AD_temp_V + 3)
                                           ;	op : =
                                           ;	.line	248; "../main.c"	AD_temp_I=0;
                                           	BANKSEL	_AD_temp_I
000b5a   03f4     CLR	0xf4                 	CLR	_AD_temp_I
                                           	BANKSEL	_AD_temp_I
000b5b   03f5     CLR	0xf5                 	CLR	(_AD_temp_I + 1)
                                           	BANKSEL	_AD_temp_I
000b5c   03f6     CLR	0xf6                 	CLR	(_AD_temp_I + 2)
                                           	BANKSEL	_AD_temp_I
000b5d   03f7     CLR	0xf7                 	CLR	(_AD_temp_I + 3)
                                           ;	op : =
                                           ;	.line	249; "../main.c"	AD_V=0;
                                           	BANKSEL	_AD_V
000b5e   03d6     CLR	0xd6                 	CLR	_AD_V
                                           	BANKSEL	_AD_V
000b5f   03d7     CLR	0xd7                 	CLR	(_AD_V + 1)
                                           ;	op : =
                                           ;	.line	250; "../main.c"	AD_I=0;
                                           	BANKSEL	_AD_I
000b60   03d4     CLR	0xd4                 	CLR	_AD_I
                                           	BANKSEL	_AD_I
000b61   03d5     CLR	0xd5                 	CLR	(_AD_I + 1)
                                           ;	op : =
                                           ;	.line	251; "../main.c"	AD_cnt=0;
                                           	BANKSEL	_AD_cnt
000b62   03d2     CLR	0xd2                 	CLR	_AD_cnt
                                           	BANKSEL	_AD_cnt
000b63   03d3     CLR	0xd3                 	CLR	(_AD_cnt + 1)
                                           ;	op : =
                                           ;	.line	252; "../main.c"	Power=0;
                                           	BANKSEL	_Power
000b64   03b4     CLR	0xb4                 	CLR	_Power
                                           ;	op : =
                                           ;	.line	253; "../main.c"	LEDFre=0;
                                           	BANKSEL	_LEDFre
000b65   03d0     CLR	0xd0                 	CLR	_LEDFre
                                           	BANKSEL	_LEDFre
000b66   03d1     CLR	0xd1                 	CLR	(_LEDFre + 1)
                                           ;	op : =
                                           ;	.line	254; "../main.c"	CurrentShortCnt=0;
                                           	BANKSEL	_CurrentShortCnt
000b67   03b3     CLR	0xb3                 	CLR	_CurrentShortCnt
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000b68   0008     CRET                     	CRET	
                                           ; exit point of _Init_data
                                           
                                           
                                           
                                           func._Init_ram	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _Init_ram	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _Init_ram	;Function start
                                           ; 2 exit points
                                           ;	op : INLINEASM
000b9a   9b00     MOV	R3, #0               	MOV R3,#0X00
000b9b   5717     MOV	0x17, R3             	MOV _BANK,R3
                                           LADR_0x009B:
000b9c   9aff     MOV	R2, #0xff            	MOV R2 ,#0XFF
000b9d   9980     MOV	R1, #0x80            	MOV R1 ,#0X80
000b9e   cba3     JMP	#0xba3               	JMP LADR_0x00F3
                                           LADR_0x009C:
000b9f   f950     XOR	R0, R2               	XOR R0 ,R2
000ba0   0208     CLR	R0                   	CLR R0
000ba1   f741     ST	[R1], R0              	ST [R1],R0
000ba2   ff11     INC	R1                   	INC R1
                                           LADR_0x00F3:
000ba3   f8c8     MOV	R0, R1               	MOV R0 ,R1
000ba4   f950     XOR	R0, R2               	XOR R0 ,R2
000ba5   7a03     JB	0x3, 2                	JB _PSW,_Z
000ba6   cb9f     JMP	#0xb9f               	JMP LADR_0x009C
000ba7   ff13     INC	R3                   	INC R3
000ba8   9804     MOV	R0, #0x4             	MOV R0,#0X04
000ba9   f958     XOR	R0, R3               	XOR R0,R3
000baa   7203     JNB	0x3, 2               	JNB _PSW,_Z
000bab   cbae     JMP	#0xbae               	JMP LADR_0x00F5
000bac   5717     MOV	0x17, R3             	MOV _BANK,R3
000bad   cb9c     JMP	#0xb9c               	JMP LADR_0x009B
                                           LADR_0x00F5:
000bae   0000     NOP                      	NOP
                                           	
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
000baf   0008     CRET                     	CRET	
                                           ; exit point of _Init_ram
                                           
                                           
                                           
                                           func._Water_Judge	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _Water_Judge	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _Water_Judge	;Function start
                                           ; 2 exit points
                                           ;	op : BITWISEAND
                                           ;	.line	178; "../main.c"	if(_KF8_LIBi_channel_flag_&0x00000001)// key0  CT0
000bd1   e100     MOVB	0                   	BANKSEL	__KF8_LIBi_channel_flag_
000bd2   70f0     JNB	0xf0, 0              	JNB	__KF8_LIBi_channel_flag_, 0
000bd3   cbda     JMP	#0xbda               	JMP	_00117_DS_
                                           ;	op : =
                                           ;	.line	185; "../main.c"	LEDFre=LEDFre_INIT/LED_TOUCH_ERROR;
000bd4   9832     MOV	R0, #0x32            	MOV	R0,# 0x32
                                           	BANKSEL	_LEDFre
000bd5   51d0     MOV	0xd0, R0             	MOV	_LEDFre, R0
                                           	BANKSEL	_LEDFre
000bd6   03d1     CLR	0xd1                 	CLR	(_LEDFre + 1)
                                           ;	op : =
                                           ;	.line	186; "../main.c"	NoWaterFlag=1;
                                           	BANKSEL	_AlarmFlag
000bd7   68bc     SET	0xbc, 0              	SET	_AlarmFlag, 0
                                           ;	op : =
                                           ;	.line	187; "../main.c"	LED2=LED_OFF;
                                           	BANKSEL	_P2LR_bits
000bd8   6a46     SET	0x46, 2              	SET	_P2LR_bits, 2
                                           ;	op : =
                                           ;	.line	188; "../main.c"	LED1=LED_OFF;
                                           	BANKSEL	_P2LR_bits
000bd9   6946     SET	0x46, 1              	SET	_P2LR_bits, 1
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00117_DS_
000bda   0008     CRET                     	CRET	
                                           ; exit point of _Water_Judge
                                           
                                           
                                           
                                           func._delay_us	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _delay_us	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;5 compiler assigned registers:
                                           ;   r0x1056
                                           ;   STK00
                                           ;   r0x1057
                                           ;   r0x1058
                                           ;   r0x1059
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _delay_us	;Function start
                                           ; 2 exit points
                                           ;	op : RECEIVE
                                           ;	.line	92; "../main.c"	void delay_us(uint us_data)
000bb0   e100     MOVB	0                   	BANKSEL	r0x1056
000bb1   519e     MOV	0x9e, R0             	MOV	r0x1056, R0
000bb2   e101     MOVB	0x1                 	BANKSEL	STK00
000bb3   0e93     MOVZ	R0, 0x93            	MOVZ	R0, STK00
000bb4   e100     MOVB	0                   	BANKSEL	r0x1057
000bb5   519d     MOV	0x9d, R0             	MOV	r0x1057, R0
                                           ;	op : =
                                           ;	op : LABEL
                                           ;	op : =
                                           _00051_DS_
                                           ;	.line	94; "../main.c"	while(us_data--)
                                           	BANKSEL	r0x1057
000bb6   0e9d     MOVZ	R0, 0x9d            	MOVZ	R0, r0x1057
                                           	BANKSEL	r0x1058
000bb7   519c     MOV	0x9c, R0             	MOV	r0x1058, R0
                                           	BANKSEL	r0x1056
000bb8   0e9e     MOVZ	R0, 0x9e            	MOVZ	R0, r0x1056
                                           	BANKSEL	r0x1059
000bb9   519b     MOV	0x9b, R0             	MOV	r0x1059, R0
                                           ;	op : -
000bba   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x1057
000bbb   219d     ADD	0x9d, R0             	ADD	r0x1057, R0
000bbc   7003     JNB	0x3, 0               	JNB	PSW, 0
000bbd   cbbf     JMP	#0xbbf               	JMP	_00292_DS_
                                           	BANKSEL	r0x1056
000bbe   079e     DEC	0x9e                 	DEC	r0x1056
                                           ;	op : IFX
                                           _00292_DS_
                                           	BANKSEL	r0x1058
000bbf   0e9c     MOVZ	R0, 0x9c            	MOVZ	R0, r0x1058
                                           	BANKSEL	r0x1059
000bc0   309b     ORL	R0, 0x9b             	ORL	R0, r0x1059
000bc1   7203     JNB	0x3, 2               	JNB	PSW, 2
000bc2   cbc5     JMP	#0xbc5               	JMP	_00054_DS_
                                           ;	op : INLINEASM
000bc3   0064     CWDT                     	CWDT 
                                           ;	op : GOTO
000bc4   cbb6     JMP	#0xbb6               	JMP	_00051_DS_
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00054_DS_
000bc5   0008     CRET                     	CRET	
                                           ; exit point of _delay_us
                                           
                                           
                                           
                                           func._delay_ms	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _delay_ms	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;7 compiler assigned registers:
                                           ;   r0x1056
                                           ;   STK00
                                           ;   r0x1057
                                           ;   r0x1058
                                           ;   r0x1059
                                           ;   r0x105A
                                           ;   r0x105B
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _delay_ms	;Function start
                                           ; 2 exit points
                                           ;	op : RECEIVE
                                           ;	.line	73; "../main.c"	void delay_ms(uint ms_data)
000ade   e100     MOVB	0                   	BANKSEL	r0x1056
000adf   519e     MOV	0x9e, R0             	MOV	r0x1056, R0
000ae0   e101     MOVB	0x1                 	BANKSEL	STK00
000ae1   0e93     MOVZ	R0, 0x93            	MOVZ	R0, STK00
000ae2   e100     MOVB	0                   	BANKSEL	r0x1057
000ae3   519d     MOV	0x9d, R0             	MOV	r0x1057, R0
                                           ;	op : =
                                           ;	op : LABEL
                                           ;	op : =
                                           _00041_DS_
                                           ;	.line	76; "../main.c"	while(ms_data--)
                                           	BANKSEL	r0x1057
000ae4   0e9d     MOVZ	R0, 0x9d            	MOVZ	R0, r0x1057
                                           	BANKSEL	r0x1058
000ae5   519c     MOV	0x9c, R0             	MOV	r0x1058, R0
                                           	BANKSEL	r0x1056
000ae6   0e9e     MOVZ	R0, 0x9e            	MOVZ	R0, r0x1056
                                           	BANKSEL	r0x1059
000ae7   519b     MOV	0x9b, R0             	MOV	r0x1059, R0
                                           ;	op : -
000ae8   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x1057
000ae9   219d     ADD	0x9d, R0             	ADD	r0x1057, R0
000aea   7003     JNB	0x3, 0               	JNB	PSW, 0
000aeb   caed     JMP	#0xaed               	JMP	_00293_DS_
                                           	BANKSEL	r0x1056
000aec   079e     DEC	0x9e                 	DEC	r0x1056
                                           ;	op : IFX
                                           _00293_DS_
                                           	BANKSEL	r0x1058
000aed   0e9c     MOVZ	R0, 0x9c            	MOVZ	R0, r0x1058
                                           	BANKSEL	r0x1059
000aee   309b     ORL	R0, 0x9b             	ORL	R0, r0x1059
000aef   7203     JNB	0x3, 2               	JNB	PSW, 2
000af0   cb04     JMP	#0xb04               	JMP	_00044_DS_
                                           ;	op : INLINEASM
000af1   0064     CWDT                     	CWDT 
                                           ;	op : =
                                           ;	.line	80; "../main.c"	while(j--)
000af2   98c8     MOV	R0, #0xc8            	MOV	R0,# 0xc8
                                           	BANKSEL	r0x1058
000af3   519c     MOV	0x9c, R0             	MOV	r0x1058, R0
                                           	BANKSEL	r0x1059
000af4   039b     CLR	0x9b                 	CLR	r0x1059
                                           ;	op : LABEL
                                           ;	op : =
                                           _00038_DS_
                                           	BANKSEL	r0x1058
000af5   0e9c     MOVZ	R0, 0x9c            	MOVZ	R0, r0x1058
                                           	BANKSEL	r0x105A
000af6   519a     MOV	0x9a, R0             	MOV	r0x105A, R0
                                           	BANKSEL	r0x1059
000af7   0e9b     MOVZ	R0, 0x9b            	MOVZ	R0, r0x1059
                                           	BANKSEL	r0x105B
000af8   5199     MOV	0x99, R0             	MOV	r0x105B, R0
                                           ;	op : -
000af9   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x1058
000afa   219c     ADD	0x9c, R0             	ADD	r0x1058, R0
000afb   7003     JNB	0x3, 0               	JNB	PSW, 0
000afc   cafe     JMP	#0xafe               	JMP	_00294_DS_
                                           	BANKSEL	r0x1059
000afd   079b     DEC	0x9b                 	DEC	r0x1059
                                           ;	op : IFX
                                           _00294_DS_
                                           	BANKSEL	r0x105A
000afe   0e9a     MOVZ	R0, 0x9a            	MOVZ	R0, r0x105A
                                           	BANKSEL	r0x105B
000aff   3099     ORL	R0, 0x99             	ORL	R0, r0x105B
000b00   7203     JNB	0x3, 2               	JNB	PSW, 2
000b01   cae4     JMP	#0xae4               	JMP	_00041_DS_
                                           ;	op : INLINEASM
000b02   0064     CWDT                     	CWDT 
                                           ;	op : GOTO
000b03   caf5     JMP	#0xaf5               	JMP	_00038_DS_
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00044_DS_
000b04   0008     CRET                     	CRET	
                                           ; exit point of _delay_ms
                                           
                                           
                                           
                                           func._AdjustFun	.code
                                           ;***
                                           ;  PostBlock Stats: dbName = C
                                           ;***
                                           ;entry:  _AdjustFun	;Function start
                                           ; 2 exit points
                                           ;has an exit
                                           ;2 compiler assigned registers:
                                           ;   r0x1056
                                           ;   r0x1057
                                           ;; Starting PostCode block
                                           ;	op : LABEL
                                           ;	op : FUNCTION
                                           _AdjustFun	;Function start
                                           ; 2 exit points
                                           ;	op : >
                                           ;	.line	27; "../main.c"	if(AD_I>CurrentAdjustNum)
000875   e100     MOVB	0                   	BANKSEL	_AD_I
000876   0ed5     MOVZ	R0, 0xd5            	MOVZ	R0, (_AD_I + 1)
                                           	BANKSEL	_CurrentAdjustNum
000877   38db     SUB	R0, 0xdb             	SUB	R0, (_CurrentAdjustNum + 1)
                                           ;comparing bytes at offset 1
000878   7a03     JB	0x3, 2                	JB	PSW, 2
000879   c87c     JMP	#0x87c               	JMP	_00030_DS_
                                           	BANKSEL	_AD_I
00087a   0ed4     MOVZ	R0, 0xd4            	MOVZ	R0, _AD_I
                                           	BANKSEL	_CurrentAdjustNum
00087b   38da     SUB	R0, 0xda             	SUB	R0, _CurrentAdjustNum
                                           _00030_DS_
00087c   7003     JNB	0x3, 0               	JNB	PSW, 0
00087d   c886     JMP	#0x886               	JMP	_00008_DS_
                                           ;	op : <
                                           ;unsigned compare: left < lit(0xFA=250), size=1
                                           ;	.line	29; "../main.c"	if(OSCCAL0<250)OSCCAL0++;
00087e   98fa     MOV	R0, #0xfa            	MOV	R0,# 0xfa
                                           ;	.line	30; "../main.c"	SubNum--;
                                           	BANKSEL	_OSCCAL0
00087f   3830     SUB	R0, 0x30             	SUB	R0, _OSCCAL0
000880   7003     JNB	0x3, 0               	JNB	PSW, 0
000881   c883     JMP	#0x883               	JMP	_00295_DS_
                                           	BANKSEL	_OSCCAL0
000882   0b30     INC	0x30                 	INC	_OSCCAL0
                                           _00295_DS_
                                           	BANKSEL	_SubNum
000883   07b5     DEC	0xb5                 	DEC	_SubNum
                                           ;	.line	33; "../main.c"	LED1=LED_ON;
                                           	BANKSEL	_P2LR_bits
000884   6146     CLR	0x46, 1              	CLR	_P2LR_bits, 1
                                           ;	op : GOTO
000885   c8a0     JMP	#0x8a0               	JMP	_00009_DS_
                                           ;	op : LABEL
                                           ;	op : -
                                           _00008_DS_
                                           ;	.line	35; "../main.c"	else if(AD_I<CurrentAdjustNum-I_ADJUST_NUM_CHANGE_NUM)
000886   98ec     MOV	R0, #0xec            	MOV	R0,# 0xec
                                           	BANKSEL	_CurrentAdjustNum
000887   20da     ADD	R0, 0xda             	ADD	R0, _CurrentAdjustNum
                                           	BANKSEL	r0x1056
000888   519e     MOV	0x9e, R0             	MOV	r0x1056, R0
000889   98ff     MOV	R0, #0xff            	MOV	R0,# 0xff
                                           	BANKSEL	r0x1057
00088a   519d     MOV	0x9d, R0             	MOV	r0x1057, R0
                                           	BANKSEL	_CurrentAdjustNum
00088b   0edb     MOVZ	R0, 0xdb            	MOVZ	R0, (_CurrentAdjustNum + 1)
00088c   7003     JNB	0x3, 0               	JNB	PSW, 0
00088d   ff10     INC	R0                   	INC	R0
00088e   7203     JNB	0x3, 2               	JNB	PSW, 2
00088f   c891     JMP	#0x891               	JMP	_00296_DS_
                                           	BANKSEL	r0x1057
000890   219d     ADD	0x9d, R0             	ADD	r0x1057, R0
                                           ;	op : <
                                           _00296_DS_
                                           	BANKSEL	r0x1057
000891   0e9d     MOVZ	R0, 0x9d            	MOVZ	R0, r0x1057
                                           	BANKSEL	_AD_I
000892   38d5     SUB	R0, 0xd5             	SUB	R0, (_AD_I + 1)
                                           ;comparing bytes at offset 1
000893   7a03     JB	0x3, 2                	JB	PSW, 2
000894   c897     JMP	#0x897               	JMP	_00032_DS_
                                           	BANKSEL	r0x1056
000895   0e9e     MOVZ	R0, 0x9e            	MOVZ	R0, r0x1056
                                           	BANKSEL	_AD_I
000896   38d4     SUB	R0, 0xd4             	SUB	R0, _AD_I
                                           _00032_DS_
000897   7003     JNB	0x3, 0               	JNB	PSW, 0
000898   c8a0     JMP	#0x8a0               	JMP	_00009_DS_
                                           ;	op : IFX
                                           ;	.line	37; "../main.c"	if(OSCCAL0)OSCCAL0--;	///AD_V  СOSCCAL
000899   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           ;	.line	38; "../main.c"	SubNum++;
                                           	BANKSEL	_OSCCAL0
00089a   3030     ORL	R0, 0x30             	ORL	R0, _OSCCAL0
00089b   7203     JNB	0x3, 2               	JNB	PSW, 2
00089c   c89e     JMP	#0x89e               	JMP	_00297_DS_
                                           	BANKSEL	_OSCCAL0
00089d   0730     DEC	0x30                 	DEC	_OSCCAL0
                                           _00297_DS_
                                           	BANKSEL	_SubNum
00089e   0bb5     INC	0xb5                 	INC	_SubNum
                                           ;	.line	39; "../main.c"	LED1=LED_OFF;
                                           	BANKSEL	_P2LR_bits
00089f   6946     SET	0x46, 1              	SET	_P2LR_bits, 1
                                           ;	op : LABEL
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/3)
                                           ;unsigned compare: left >= lit(0xE75=3701), size=2
                                           _00009_DS_
                                           ;	.line	43; "../main.c"	if(AD_V>V_NO_WATER_MAX)//+(SubNum<<4))
0008a0   980e     MOV	R0, #0xe             	MOV	R0,# 0x0e
                                           	BANKSEL	_AD_V
0008a1   38d7     SUB	R0, 0xd7             	SUB	R0, (_AD_V + 1)
                                           ;comparing bytes at offset 1
0008a2   7a03     JB	0x3, 2                	JB	PSW, 2
0008a3   c8a6     JMP	#0x8a6               	JMP	_00033_DS_
0008a4   9875     MOV	R0, #0x75            	MOV	R0,# 0x75
                                           	BANKSEL	_AD_V
0008a5   38d6     SUB	R0, 0xd6             	SUB	R0, _AD_V
                                           _00033_DS_
0008a6   7803     JB	0x3, 0                	JB	PSW, 0
0008a7   c8b5     JMP	#0x8b5               	JMP	_00013_DS_
                                           ;	op : =
                                           ;	.line	46; "../main.c"	if(V_NoWatercnt++>V_NoWatercnt_MAX)
                                           	BANKSEL	_V_NoWatercnt
0008a8   0eba     MOVZ	R0, 0xba            	MOVZ	R0, _V_NoWatercnt
                                           	BANKSEL	r0x1056
0008a9   519e     MOV	0x9e, R0             	MOV	r0x1056, R0
                                           ;	op : +
                                           	BANKSEL	_V_NoWatercnt
0008aa   0bba     INC	0xba                 	INC	_V_NoWatercnt
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x1A=26), size=1
0008ab   981a     MOV	R0, #0x1a            	MOV	R0,# 0x1a
                                           	BANKSEL	r0x1056
0008ac   389e     SUB	R0, 0x9e             	SUB	R0, r0x1056
                                           ;comparing bytes at offset 0
0008ad   7803     JB	0x3, 0                	JB	PSW, 0
0008ae   c8b5     JMP	#0x8b5               	JMP	_00013_DS_
                                           ;	op : =
                                           ;	.line	48; "../main.c"	LEDFre=LEDFre_INIT/LED_V_ERROR;
0008af   980c     MOV	R0, #0xc             	MOV	R0,# 0x0c
                                           	BANKSEL	_LEDFre
0008b0   51d0     MOV	0xd0, R0             	MOV	_LEDFre, R0
                                           	BANKSEL	_LEDFre
0008b1   03d1     CLR	0xd1                 	CLR	(_LEDFre + 1)
                                           ;	op : =
                                           ;	.line	49; "../main.c"	NoWaterFlag=1;
                                           	BANKSEL	_AlarmFlag
0008b2   68bc     SET	0xbc, 0              	SET	_AlarmFlag, 0
                                           ;	op : =
                                           ;	.line	50; "../main.c"	LED2=LED_OFF;
                                           	BANKSEL	_P2LR_bits
0008b3   6a46     SET	0x46, 2              	SET	_P2LR_bits, 2
                                           ;	op : =
                                           ;	.line	51; "../main.c"	LED1=LED_ON;
                                           	BANKSEL	_P2LR_bits
0008b4   6146     CLR	0x46, 1              	CLR	_P2LR_bits, 1
                                           ;	op : LABEL
                                           ;	op : <
                                           ;unsigned compare: left < lit(0x64=100), size=2
                                           _00013_DS_
                                           ;	.line	54; "../main.c"	if((AD_I<I_ERROR_MIN)&&(AD_V>V_threshold_INIT))			//εƬѸٱСϵʱƬֵȽС
0008b5   9800     MOV	R0, #0               	MOV	R0,# 0x00
                                           	BANKSEL	_AD_I
0008b6   38d5     SUB	R0, 0xd5             	SUB	R0, (_AD_I + 1)
                                           ;comparing bytes at offset 1
0008b7   7a03     JB	0x3, 2                	JB	PSW, 2
0008b8   c8bb     JMP	#0x8bb               	JMP	_00035_DS_
0008b9   9864     MOV	R0, #0x64            	MOV	R0,# 0x64
                                           	BANKSEL	_AD_I
0008ba   38d4     SUB	R0, 0xd4             	SUB	R0, _AD_I
                                           _00035_DS_
0008bb   7003     JNB	0x3, 0               	JNB	PSW, 0
0008bc   c8d2     JMP	#0x8d2               	JMP	_00019_DS_
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/3)
                                           ;unsigned compare: left >= lit(0xBB9=3001), size=2
0008bd   980b     MOV	R0, #0xb             	MOV	R0,# 0x0b
                                           	BANKSEL	_AD_V
0008be   38d7     SUB	R0, 0xd7             	SUB	R0, (_AD_V + 1)
                                           ;comparing bytes at offset 1
0008bf   7a03     JB	0x3, 2                	JB	PSW, 2
0008c0   c8c3     JMP	#0x8c3               	JMP	_00036_DS_
0008c1   98b9     MOV	R0, #0xb9            	MOV	R0,# 0xb9
                                           	BANKSEL	_AD_V
0008c2   38d6     SUB	R0, 0xd6             	SUB	R0, _AD_V
                                           _00036_DS_
0008c3   7803     JB	0x3, 0                	JB	PSW, 0
0008c4   c8d2     JMP	#0x8d2               	JMP	_00019_DS_
                                           ;	op : =
                                           ;	.line	56; "../main.c"	if(I_NoWatercnt++>V_NoWatercnt_MAX)
                                           	BANKSEL	_I_NoWatercnt
0008c5   0eb9     MOVZ	R0, 0xb9            	MOVZ	R0, _I_NoWatercnt
                                           	BANKSEL	r0x1056
0008c6   519e     MOV	0x9e, R0             	MOV	r0x1056, R0
                                           ;	op : +
                                           	BANKSEL	_I_NoWatercnt
0008c7   0bb9     INC	0xb9                 	INC	_I_NoWatercnt
                                           ;	op : >
                                           ;swapping arguments (AOP_TYPEs 1/2)
                                           ;unsigned compare: left >= lit(0x1A=26), size=1
0008c8   981a     MOV	R0, #0x1a            	MOV	R0,# 0x1a
                                           	BANKSEL	r0x1056
0008c9   389e     SUB	R0, 0x9e             	SUB	R0, r0x1056
                                           ;comparing bytes at offset 0
0008ca   7803     JB	0x3, 0                	JB	PSW, 0
0008cb   c8d2     JMP	#0x8d2               	JMP	_00019_DS_
                                           ;	op : =
                                           ;	.line	58; "../main.c"	LEDFre=LEDFre_INIT/LED_I_ERROR;
0008cc   9806     MOV	R0, #0x6             	MOV	R0,# 0x06
                                           	BANKSEL	_LEDFre
0008cd   51d0     MOV	0xd0, R0             	MOV	_LEDFre, R0
                                           	BANKSEL	_LEDFre
0008ce   03d1     CLR	0xd1                 	CLR	(_LEDFre + 1)
                                           ;	op : =
                                           ;	.line	59; "../main.c"	NoWaterFlag=1;
                                           	BANKSEL	_AlarmFlag
0008cf   68bc     SET	0xbc, 0              	SET	_AlarmFlag, 0
                                           ;	op : =
                                           ;	.line	60; "../main.c"	LED2=LED_OFF;
                                           	BANKSEL	_P2LR_bits
0008d0   6a46     SET	0x46, 2              	SET	_P2LR_bits, 2
                                           ;	op : =
                                           ;	.line	61; "../main.c"	LED1=LED_ON;
                                           	BANKSEL	_P2LR_bits
0008d1   6146     CLR	0x46, 1              	CLR	_P2LR_bits, 1
                                           ;	op : LABEL
                                           ;	op : ENDFUNCTION
                                           _00019_DS_
0008d2   0008     CRET                     	CRET	
                                           ; exit point of _AdjustFun
                                           
                                           
                                           ;	code size estimation:
                                           ;	  905+  493 =  1398 instructions ( 3782 byte)
                                           
                                           
                                           	.end
                                           .config
002007   05c4     CPL	0xc4                
002008   ffff     NOPZ                    
                                           FUN_DIVUINT
000a72   e101     MOVB	0x1                
000a73   5292     MOV	R1, 0x92            
000a74   3291     ORL	R1, 0x91            
000a75   7203     JNB	0x3, 2              
000a76   caa9     JMP	#0xaa9              
000a77   0390     CLR	0x90                
000a78   038f     CLR	0x8f                
000a79   038e     CLR	0x8e                
000a7a   038d     CLR	0x8d                
000a7b   688d     SET	0x8d, 0             
000a7c   7792     JNB	0x92, 7             
000a7d   ca85     JMP	#0xa85              
000a7e   6003     CLR	0x3, 0              
000a7f   1391     RLC	0x91                
000a80   1392     RLC	0x92                
000a81   6003     CLR	0x3, 0              
000a82   138d     RLC	0x8d                
000a83   138e     RLC	0x8e                
000a84   ca7c     JMP	#0xa7c              
000a85   528e     MOV	R1, 0x8e            
000a86   328d     ORL	R1, 0x8d            
000a87   7203     JNB	0x3, 2              
000a88   caa6     JMP	#0xaa6              
000a89   5292     MOV	R1, 0x92            
000a8a   f841     SUB	R1, R0              
000a8b   7a03     JB	0x3, 2               
000a8c   ca8f     JMP	#0xa8f              
000a8d   5291     MOV	R1, 0x91            
000a8e   3a93     SUB	R1, 0x93            
000a8f   7803     JB	0x3, 0               
000a90   ca9f     JMP	#0xa9f              
000a91   528d     MOV	R1, 0x8d            
000a92   238f     ADD	0x8f, R1            
000a93   528e     MOV	R1, 0x8e            
000a94   7003     JNB	0x3, 0              
000a95   ff11     INC	R1                  
000a96   2390     ADD	0x90, R1            
000a97   5291     MOV	R1, 0x91            
000a98   3a93     SUB	R1, 0x93            
000a99   5393     MOV	0x93, R1            
000a9a   7803     JB	0x3, 0               
000a9b   ff08     DEC	R0                  
000a9c   5292     MOV	R1, 0x92            
000a9d   f841     SUB	R1, R0              
000a9e   f8c8     MOV	R0, R1              
000a9f   6003     CLR	0x3, 0              
000aa0   1192     RRC	0x92                
000aa1   1191     RRC	0x91                
000aa2   6003     CLR	0x3, 0              
000aa3   118e     RRC	0x8e                
000aa4   118d     RRC	0x8d                
000aa5   ca85     JMP	#0xa85              
000aa6   508f     MOV	R0, 0x8f            
000aa7   5193     MOV	0x93, R0            
000aa8   5090     MOV	R0, 0x90            
000aa9   0008     CRET                    
                                           fun.__R2PCL
000bfe   530a     MOV	0xa, R1             
000bff   5102     MOV	0x2, R0             
                                           func.__gsinit_startup
000bec   0000     NOP                     
000bed   d9b7     CALL	#0x9b7             
000bee   0000     NOP                     
000bef   0008     CRET                    
                                           FUN_MULINT
000b82   e101     MOVB	0x1                
000b83   0390     CLR	0x90                
000b84   038f     CLR	0x8f                
000b85   7891     JB	0x91, 0              
000b86   cb8c     JMP	#0xb8c              
000b87   5293     MOV	R1, 0x93            
000b88   238f     ADD	0x8f, R1            
000b89   7003     JNB	0x3, 0              
000b8a   0b90     INC	0x90                
000b8b   2190     ADD	0x90, R0            
000b8c   6003     CLR	0x3, 0              
000b8d   1393     RLC	0x93                
000b8e   ff18     RLC	R0                  
000b8f   6003     CLR	0x3, 0              
000b90   1192     RRC	0x92                
000b91   1191     RRC	0x91                
000b92   5292     MOV	R1, 0x92            
000b93   3291     ORL	R1, 0x91            
000b94   7a03     JB	0x3, 2               
000b95   cb85     JMP	#0xb85              
000b96   508f     MOV	R0, 0x8f            
000b97   5193     MOV	0x93, R0            
000b98   5090     MOV	R0, 0x90            
000b99   0008     CRET                    
                                           func.__divulong
000684   e100     MOVB	0                  
000685   518c     MOV	0x8c, R0            
000686   e101     MOVB	0x1                
000687   0e93     MOVZ	R0, 0x93           
000688   e100     MOVB	0                  
000689   518d     MOV	0x8d, R0            
00068a   e101     MOVB	0x1                
00068b   0e92     MOVZ	R0, 0x92           
00068c   e100     MOVB	0                  
00068d   518e     MOV	0x8e, R0            
00068e   e101     MOVB	0x1                
00068f   0e91     MOVZ	R0, 0x91           
000690   e100     MOVB	0                  
000691   518f     MOV	0x8f, R0            
000692   e101     MOVB	0x1                
000693   0e90     MOVZ	R0, 0x90           
000694   e100     MOVB	0                  
000695   5188     MOV	0x88, R0            
000696   e101     MOVB	0x1                
000697   0e8f     MOVZ	R0, 0x8f           
000698   e100     MOVB	0                  
000699   5189     MOV	0x89, R0            
00069a   e101     MOVB	0x1                
00069b   0e8e     MOVZ	R0, 0x8e           
00069c   e100     MOVB	0                  
00069d   518a     MOV	0x8a, R0            
00069e   e101     MOVB	0x1                
00069f   0e8d     MOVZ	R0, 0x8d           
0006a0   e100     MOVB	0                  
0006a1   518b     MOV	0x8b, R0            
0006a2   0387     CLR	0x87                
0006a3   0386     CLR	0x86                
0006a4   0385     CLR	0x85                
0006a5   0384     CLR	0x84                
0006a6   9801     MOV	R0, #0x1            
0006a7   5183     MOV	0x83, R0            
0006a8   0382     CLR	0x82                
0006a9   0381     CLR	0x81                
0006aa   0380     CLR	0x80                
0006ab   0e8b     MOVZ	R0, 0x8b           
0006ac   308a     ORL	R0, 0x8a            
0006ad   3089     ORL	R0, 0x89            
0006ae   3088     ORL	R0, 0x88            
0006af   7a03     JB	0x3, 2               
0006b0   c6ba     JMP	#0x6ba              
0006b1   98ff     MOV	R0, #0xff           
0006b2   e101     MOVB	0x1                
0006b3   5191     MOV	0x91, R0            
0006b4   98ff     MOV	R0, #0xff           
0006b5   5192     MOV	0x92, R0            
0006b6   98ff     MOV	R0, #0xff           
0006b7   5193     MOV	0x93, R0            
0006b8   98ff     MOV	R0, #0xff           
0006b9   c71d     JMP	#0x71d              
0006ba   7788     JNB	0x88, 7             
0006bb   c6c7     JMP	#0x6c7              
0006bc   6003     CLR	0x3, 0              
0006bd   138b     RLC	0x8b                
0006be   138a     RLC	0x8a                
0006bf   1389     RLC	0x89                
0006c0   1388     RLC	0x88                
0006c1   6003     CLR	0x3, 0              
0006c2   1383     RLC	0x83                
0006c3   1382     RLC	0x82                
0006c4   1381     RLC	0x81                
0006c5   1380     RLC	0x80                
0006c6   c6ba     JMP	#0x6ba              
0006c7   0e83     MOVZ	R0, 0x83           
0006c8   3082     ORL	R0, 0x82            
0006c9   3081     ORL	R0, 0x81            
0006ca   3080     ORL	R0, 0x80            
0006cb   7203     JNB	0x3, 2              
0006cc   c710     JMP	#0x710              
0006cd   0e88     MOVZ	R0, 0x88           
0006ce   388c     SUB	R0, 0x8c            
0006cf   7a03     JB	0x3, 2               
0006d0   c6db     JMP	#0x6db              
0006d1   0e89     MOVZ	R0, 0x89           
0006d2   388d     SUB	R0, 0x8d            
0006d3   7a03     JB	0x3, 2               
0006d4   c6db     JMP	#0x6db              
0006d5   0e8a     MOVZ	R0, 0x8a           
0006d6   388e     SUB	R0, 0x8e            
0006d7   7a03     JB	0x3, 2               
0006d8   c6db     JMP	#0x6db              
0006d9   0e8b     MOVZ	R0, 0x8b           
0006da   388f     SUB	R0, 0x8f            
0006db   7803     JB	0x3, 0               
0006dc   c705     JMP	#0x705              
0006dd   5083     MOV	R0, 0x83            
0006de   2187     ADD	0x87, R0            
0006df   0e82     MOVZ	R0, 0x82           
0006e0   7003     JNB	0x3, 0              
0006e1   ff10     INC	R0                  
0006e2   7203     JNB	0x3, 2              
0006e3   c6e5     JMP	#0x6e5              
0006e4   2186     ADD	0x86, R0            
0006e5   0e81     MOVZ	R0, 0x81           
0006e6   7003     JNB	0x3, 0              
0006e7   ff10     INC	R0                  
0006e8   7203     JNB	0x3, 2              
0006e9   c6eb     JMP	#0x6eb              
0006ea   2185     ADD	0x85, R0            
0006eb   0e80     MOVZ	R0, 0x80           
0006ec   7003     JNB	0x3, 0              
0006ed   ff10     INC	R0                  
0006ee   7203     JNB	0x3, 2              
0006ef   c6f1     JMP	#0x6f1              
0006f0   2184     ADD	0x84, R0            
0006f1   0e8b     MOVZ	R0, 0x8b           
0006f2   398f     SUB	0x8f, R0            
0006f3   0e8a     MOVZ	R0, 0x8a           
0006f4   7803     JB	0x3, 0               
0006f5   ff10     INC	R0                  
0006f6   7203     JNB	0x3, 2              
0006f7   c6f9     JMP	#0x6f9              
0006f8   398e     SUB	0x8e, R0            
0006f9   0e89     MOVZ	R0, 0x89           
0006fa   7803     JB	0x3, 0               
0006fb   ff10     INC	R0                  
0006fc   7203     JNB	0x3, 2              
0006fd   c6ff     JMP	#0x6ff              
0006fe   398d     SUB	0x8d, R0            
0006ff   0e88     MOVZ	R0, 0x88           
000700   7803     JB	0x3, 0               
000701   ff10     INC	R0                  
000702   7203     JNB	0x3, 2              
000703   c705     JMP	#0x705              
000704   398c     SUB	0x8c, R0            
000705   6003     CLR	0x3, 0              
000706   1188     RRC	0x88                
000707   1189     RRC	0x89                
000708   118a     RRC	0x8a                
000709   118b     RRC	0x8b                
00070a   6003     CLR	0x3, 0              
00070b   1180     RRC	0x80                
00070c   1181     RRC	0x81                
00070d   1182     RRC	0x82                
00070e   1183     RRC	0x83                
00070f   c6c7     JMP	#0x6c7              
000710   0e87     MOVZ	R0, 0x87           
000711   e101     MOVB	0x1                
000712   5191     MOV	0x91, R0            
000713   e100     MOVB	0                  
000714   0e86     MOVZ	R0, 0x86           
000715   e101     MOVB	0x1                
000716   5192     MOV	0x92, R0            
000717   e100     MOVB	0                  
000718   0e85     MOVZ	R0, 0x85           
000719   e101     MOVB	0x1                
00071a   5193     MOV	0x93, R0            
00071b   e100     MOVB	0                  
00071c   0e84     MOVZ	R0, 0x84           
00071d   0008     CRET                    
                                           KF8TS25xx
000b28   dfff     CALL	#0xfff             
000b29   5130     MOV	0x30, R0            
000b2a   ffff     NOPZ                    
000b2b   ffff     NOPZ                    
000b2c   dffe     CALL	#0xffe             
000b2d   5137     MOV	0x37, R0            
000b2e   ffff     NOPZ                    
000b2f   ffff     NOPZ                    
000b30   dffd     CALL	#0xffd             
000b31   514c     MOV	0x4c, R0            
000b32   ffff     NOPZ                    
000b33   ffff     NOPZ                    
000b34   dffc     CALL	#0xffc             
000b35   514d     MOV	0x4d, R0            
000b36   ffff     NOPZ                    
000b37   ffff     NOPZ                    
000b38   dffb     CALL	#0xffb             
000b39   512a     MOV	0x2a, R0            
000b3a   ffff     NOPZ                    
000b3b   ffff     NOPZ                    
000b3c   e101     MOVB	0x1                
000b3d   dffa     CALL	#0xffa             
000b3e   5159     MOV	0x59, R0            
000b3f   ffff     NOPZ                    
000b40   ffff     NOPZ                    
000b41   dff9     CALL	#0xff9             
000b42   515a     MOV	0x5a, R0            
000b43   ffff     NOPZ                    
000b44   ffff     NOPZ                    
000b45   dff8     CALL	#0xff8             
000b46   5165     MOV	0x65, R0            
000b47   ffff     NOPZ                    
000b48   ffff     NOPZ                    
000b49   0008     CRET                    
                                           .cinit
0009b7   e100     MOVB	0                  
0009b8   9880     MOV	R0, #0x80           
0009b9   997c     MOV	R1, #0x7c           
0009ba   0000     NOP                     
0009bb   d9f2     CALL	#0x9f2             
0009bc   e101     MOVB	0x1                
0009bd   9880     MOV	R0, #0x80           
0009be   9914     MOV	R1, #0x14           
0009bf   0000     NOP                     
0009c0   d9f2     CALL	#0x9f2             
0009c1   9801     MOV	R0, #0x1            
0009c2   5194     MOV	0x94, R0            
0009c3   98aa     MOV	R0, #0xaa           
0009c4   9940     MOV	R1, #0x40           
0009c5   0000     NOP                     
0009c6   d9f2     CALL	#0x9f2             
0009c7   9801     MOV	R0, #0x1            
0009c8   5195     MOV	0x95, R0            
0009c9   9801     MOV	R0, #0x1            
0009ca   5196     MOV	0x96, R0            
0009cb   9801     MOV	R0, #0x1            
0009cc   5197     MOV	0x97, R0            
0009cd   9801     MOV	R0, #0x1            
0009ce   5198     MOV	0x98, R0            
0009cf   9801     MOV	R0, #0x1            
0009d0   5199     MOV	0x99, R0            
0009d1   9801     MOV	R0, #0x1            
0009d2   519a     MOV	0x9a, R0            
0009d3   9801     MOV	R0, #0x1            
0009d4   519b     MOV	0x9b, R0            
0009d5   9801     MOV	R0, #0x1            
0009d6   519c     MOV	0x9c, R0            
0009d7   9801     MOV	R0, #0x1            
0009d8   519d     MOV	0x9d, R0            
0009d9   9801     MOV	R0, #0x1            
0009da   519e     MOV	0x9e, R0            
0009db   9801     MOV	R0, #0x1            
0009dc   519f     MOV	0x9f, R0            
0009dd   9801     MOV	R0, #0x1            
0009de   51a0     MOV	0xa0, R0            
0009df   9801     MOV	R0, #0x1            
0009e0   51a1     MOV	0xa1, R0            
0009e1   9801     MOV	R0, #0x1            
0009e2   51a2     MOV	0xa2, R0            
0009e3   9801     MOV	R0, #0x1            
0009e4   51a3     MOV	0xa3, R0            
0009e5   9801     MOV	R0, #0x1            
0009e6   51a4     MOV	0xa4, R0            
0009e7   9801     MOV	R0, #0x1            
0009e8   51a5     MOV	0xa5, R0            
0009e9   9801     MOV	R0, #0x1            
0009ea   51a6     MOV	0xa6, R0            
0009eb   9801     MOV	R0, #0x1            
0009ec   51a7     MOV	0xa7, R0            
0009ed   9801     MOV	R0, #0x1            
0009ee   51a8     MOV	0xa8, R0            
0009ef   9801     MOV	R0, #0x1            
0009f0   51a9     MOV	0xa9, R0            
0009f1   0008     CRET                    
0009f2   020a     CLR	R2                  
0009f3   f750     ST	[R0], R2             
0009f4   ff10     INC	R0                  
0009f5   ff59     DECJZ	R1                
0009f6   c9f3     JMP	#0x9f3              
0009f7   0008     CRET                    
